sots-engine/tests/shim_techfx/CMakeLists.txt

7 lines
509 B
CMake

# B2: the tech-effect field adapter (ServerPlayer offsets <-> game::effects state) and the
# region table / describers the OnTechResearched hook declares.
add_executable(shim_techfx_unit_tests unit_tests.cpp)
target_link_libraries(shim_techfx_unit_tests PRIVATE shim_techfx)
target_include_directories(shim_techfx_unit_tests PRIVATE ${CMAKE_SOURCE_DIR}/tests/game_sim)
target_compile_options(shim_techfx_unit_tests PRIVATE -Wall -Wextra -Werror)
add_test(NAME shim_techfx_unit COMMAND shim_techfx_unit_tests)