-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
81 lines (55 loc) · 2.28 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
cmake_minimum_required(VERSION 2.8.4)
project(Scalable_Go)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++14")
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
endif()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/build/")
set(NET_BENCHMARK
benchmark_neuralnet.cpp)
set(GOGAMENN_BENCHMARK
benchmark_gogamenn.cpp)
set(GOGAMEAB19_BENCHMARK
benchmark_19x19ab_prune.cpp)
set(MOVESET_EXAMPLE
basic_moveset.cpp)
set(TRAINING
scalable_go_training.cpp)
set(COMPARISON
scalable_go_comparison.cpp)
set(CLIENT
scalable_go_client.cpp)
add_executable(benchmark_neuralnet ${NET_BENCHMARK})
add_executable(benchmark_gogamenn ${GOGAMENN_BENCHMARK})
add_executable(benchmark_19x19ab_prune ${GOGAMEAB19_BENCHMARK})
add_executable(basic_moveset ${MOVESET_EXAMPLE})
add_executable(scalable_go_training ${TRAINING})
add_executable(scalable_go_comparison ${COMPARISON})
add_executable(scalable_go_client ${CLIENT})
include_directories(gogame neuralnet gogamenn gogameab)
add_subdirectory(gogame)
add_subdirectory(neuralnet)
add_subdirectory(gogamenn)
add_subdirectory(gogameab)
add_subdirectory(tests)
target_link_libraries(benchmark_neuralnet neuralnet)
target_link_libraries(basic_moveset gogame)
target_link_libraries(benchmark_gogamenn neuralnet)
target_link_libraries(benchmark_gogamenn gogame)
target_link_libraries(benchmark_gogamenn gogamenn)
target_link_libraries(benchmark_19x19ab_prune neuralnet)
target_link_libraries(benchmark_19x19ab_prune gogame)
target_link_libraries(benchmark_19x19ab_prune gogamenn)
target_link_libraries(benchmark_19x19ab_prune gogameab)
target_link_libraries(scalable_go_training neuralnet)
target_link_libraries(scalable_go_training gogame)
target_link_libraries(scalable_go_training gogamenn)
target_link_libraries(scalable_go_training gogameab)
target_link_libraries(scalable_go_comparison neuralnet)
target_link_libraries(scalable_go_comparison gogame)
target_link_libraries(scalable_go_comparison gogamenn)
target_link_libraries(scalable_go_comparison gogameab)
target_link_libraries(scalable_go_client neuralnet)
target_link_libraries(scalable_go_client gogame)
target_link_libraries(scalable_go_client gogamenn)
target_link_libraries(scalable_go_client gogameab)