-
Notifications
You must be signed in to change notification settings - Fork 13
/
CMakeLists.txt
72 lines (68 loc) · 1.54 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
cmake_minimum_required(VERSION 3.0)
project(tetris_ai)
add_library(${PROJECT_NAME} SHARED
src/ai.cpp
src/ai_ax.cpp
src/ai_farter.cpp
src/ai_misaka.cpp
src/ai_tag.cpp
src/dllmain.c
src/integer_utils.cpp
src/rule_asrs.cpp
src/search_path.cpp
src/search_simple.cpp
src/search_simulate.cpp
src/search_tag.cpp
src/search_tspin.cpp
src/random.cpp
src/rule_c2.cpp
src/rule_qq.cpp
src/rule_srsx.cpp
src/rule_st.cpp
src/rule_tag.cpp
src/rule_toj.cpp
src/tetris_core.cpp
src/ai_zzz.cpp
src/search_cautious.cpp
src/rule_srs.cpp
)
target_include_directories(${PROJECT_NAME} PRIVATE src)
project(tetris_ai_runner)
add_library(${PROJECT_NAME} SHARED
src/ai.cpp
src/ai_ax.cpp
src/ai_farter.cpp
src/ai_misaka.cpp
src/ai_tag.cpp
src/dllmain.c
src/integer_utils.cpp
src/rule_asrs.cpp
src/search_path.cpp
src/search_simple.cpp
src/search_simulate.cpp
src/search_tag.cpp
src/search_tspin.cpp
src/random.cpp
src/rule_c2.cpp
src/rule_qq.cpp
src/rule_srsx.cpp
src/rule_st.cpp
src/rule_tag.cpp
src/rule_toj.cpp
src/tetris_core.cpp
src/ai_zzz.cpp
src/search_cautious.cpp
src/rule_srs.cpp
)
target_include_directories(${PROJECT_NAME} PRIVATE src)
project(top_pso)
add_library(${PROJECT_NAME} SHARED
src/ai_zzz.cpp
src/integer_utils.cpp
src/random.cpp
src/rule_srs.cpp
src/search_tspin.cpp
src/tetris_core.cpp
src/ppt_pso.cpp
)
target_include_directories(${PROJECT_NAME} PRIVATE src)