-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
40 lines (34 loc) · 947 Bytes
/
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
36
37
38
39
40
cmake_minimum_required (VERSION 3.15)
project (zuniq)
set(CMAKE_CXX_FLAGS "-Wall -pipe -O2 -march=native -g --std=c++17")
set(PLAYER_SOURCES
robin_hood.h
Common.h
McRaveAgent.h
McRaveAgent.cc
Opening.cc
Position.h
Position.cc
RNG.h
main.cc)
set(COACHING_SOURCES
NNAgent.h
NNAgent.cc
Position.h
Position.cc
Coaching.cc)
set(ZEROPLAYER_SOURCES
NNAgent.h
NNAgent.cc
Position.h
Position.cc
ZeroPlayer.cc)
add_executable(player ${PLAYER_SOURCES})
add_executable(coaching ${COACHING_SOURCES})
target_include_directories(coaching PRIVATE "/usr/local/include")
target_link_directories(coaching PRIVATE "/usr/local/lib")
target_link_libraries(coaching fann)
add_executable(zeroplayer ${ZEROPLAYER_SOURCES})
target_include_directories(zeroplayer PRIVATE "/usr/local/include")
target_link_directories(zeroplayer PRIVATE "/usr/local/lib")
target_link_libraries(zeroplayer fann)