wire game/effects into host + shim builds
This commit is contained in:
parent
16ce9ab6ee
commit
de779ad786
1 changed files with 2 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ add_subdirectory(src/mars/stream) # Streamable save format + gzip (lib mars
|
||||||
add_subdirectory(src/mars/rng) # MT19937 (lib mars_rng)
|
add_subdirectory(src/mars/rng) # MT19937 (lib mars_rng)
|
||||||
add_subdirectory(src/game/config) # flat KEY/value constants loader (lib sots_game_config)
|
add_subdirectory(src/game/config) # flat KEY/value constants loader (lib sots_game_config)
|
||||||
add_subdirectory(src/game/data) # typed catalogs on mars/parse+text (lib game_data)
|
add_subdirectory(src/game/data) # typed catalogs on mars/parse+text (lib game_data)
|
||||||
|
add_subdirectory(src/game/effects) # tech effects (TechId table + apply) (lib game_effects)
|
||||||
add_subdirectory(src/game/design) # ship-design rules + derived stats (lib game_design)
|
add_subdirectory(src/game/design) # ship-design rules + derived stats (lib game_design)
|
||||||
|
|
||||||
# ---- shim trace/compare infrastructure (host-testable; linked into binkw32) ----
|
# ---- shim trace/compare infrastructure (host-testable; linked into binkw32) ----
|
||||||
|
|
@ -67,7 +68,7 @@ else()
|
||||||
add_executable(addr_smoke tests/addr_smoke.cpp)
|
add_executable(addr_smoke tests/addr_smoke.cpp)
|
||||||
target_link_libraries(addr_smoke PRIVATE sots_addresses)
|
target_link_libraries(addr_smoke PRIVATE sots_addresses)
|
||||||
add_test(NAME addr_smoke COMMAND addr_smoke)
|
add_test(NAME addr_smoke COMMAND addr_smoke)
|
||||||
foreach(_t mars_parse game_config game_data game_design game_sim mars_stream mars_text mars_vfs shim_trace)
|
foreach(_t mars_parse game_config game_data game_design game_sim mars_stream mars_text mars_vfs shim_trace game_effects)
|
||||||
if(EXISTS ${CMAKE_SOURCE_DIR}/tests/${_t}/CMakeLists.txt)
|
if(EXISTS ${CMAKE_SOURCE_DIR}/tests/${_t}/CMakeLists.txt)
|
||||||
add_subdirectory(tests/${_t})
|
add_subdirectory(tests/${_t})
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue