14 lines
963 B
CMake
14 lines
963 B
CMake
# game/ai tests: the task vocabulary, the priority table read off the original, and the ranking.
|
|
add_executable(game_ai_test_tasks test_tasks.cpp)
|
|
target_link_libraries(game_ai_test_tasks PRIVATE sots_game_ai)
|
|
target_include_directories(game_ai_test_tasks PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
target_compile_options(game_ai_test_tasks PRIVATE -Wall -Wextra -pedantic)
|
|
add_test(NAME game_ai_tasks COMMAND game_ai_test_tasks)
|
|
|
|
# The AI stepping order and the two-pass model: which AI players run, in what order, and which
|
|
# pass may write commands. Pure data -- the ModCount sequence, computed offline.
|
|
add_executable(game_ai_test_turn_order test_turn_order.cpp)
|
|
target_link_libraries(game_ai_test_turn_order PRIVATE sots_game_ai)
|
|
target_include_directories(game_ai_test_turn_order PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
target_compile_options(game_ai_test_turn_order PRIVATE -Wall -Wextra -pedantic)
|
|
add_test(NAME game_ai_turn_order COMMAND game_ai_test_turn_order)
|