8 lines
623 B
CMake
8 lines
623 B
CMake
# game/effects tests: hand-computed cases over the tech-effect table and apply layer.
|
|
# The canonical runner is build_and_run.sh (plain g++); include this from the root with
|
|
# add_subdirectory(tests/game_effects) after add_subdirectory(src/game/effects).
|
|
add_executable(game_effects_test test_effects.cpp)
|
|
target_link_libraries(game_effects_test PRIVATE sots_game_effects)
|
|
target_include_directories(game_effects_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../game_sim)
|
|
target_compile_options(game_effects_test PRIVATE -Wall -Wextra -pedantic)
|
|
add_test(NAME game_effects COMMAND game_effects_test)
|