-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
38 lines (30 loc) · 1.06 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
cmake_minimum_required(VERSION 3.10)
project(rachael)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "-pthread -Wall")
set(CMAKE_CXX_FLAGS_DEBUG "-g -Wall")
if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17")
endif(MSVC)
add_executable(engine "src/Cli.cpp"
src/Board.cpp src/Board.h
src/Search.cpp src/Search.h
src/SquareClass.cpp src/SquareClass.h
src/Ply.cpp src/Ply.h
src/Reversible.cpp src/Reversible.h
src/Evaluation.cpp src/Evaluation.h )
add_executable(rachael "src/main.cpp"
src/Board.cpp src/Board.h
src/SquareClass.cpp src/SquareClass.h
src/Ply.cpp src/Ply.h
src/Util.h
src/Reversible.cpp src/Reversible.h
src/Search.cpp src/Search.h
src/Evaluation.cpp src/Evaluation.h )
add_executable(unittest src/unittest.cpp
src/Board.cpp src/Board.h
src/SquareClass.cpp src/SquareClass.h
src/Ply.cpp src/Ply.h
src/Search.cpp src/Search.h
src/Reversible.cpp src/Reversible.h
src/Evaluation.cpp src/Evaluation.h )