merge game/sim; wire into host + shim builds
This commit is contained in:
parent
d149cf826c
commit
b0f0c0db2b
1 changed files with 2 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ target_include_directories(sots_addresses INTERFACE ${CMAKE_SOURCE_DIR}/include)
|
||||||
# ---- engine modules (host + cross): pure, oracle-verified code accrues here ----
|
# ---- engine modules (host + cross): pure, oracle-verified code accrues here ----
|
||||||
add_subdirectory(src/mars/parse) # brace-block + .effect readers (lib mars_parse)
|
add_subdirectory(src/mars/parse) # brace-block + .effect readers (lib mars_parse)
|
||||||
add_subdirectory(src/mars/text) # flat-kv, id-manifest, csv (lib mars_text)
|
add_subdirectory(src/mars/text) # flat-kv, id-manifest, csv (lib mars_text)
|
||||||
|
add_subdirectory(src/game/sim) # strategic formulas, pure (lib sots_game_sim)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
# ---- shim: proxy binkw32.dll that the original game loads (Phase 2 frontend) ----
|
# ---- shim: proxy binkw32.dll that the original game loads (Phase 2 frontend) ----
|
||||||
|
|
@ -43,7 +44,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 mars_text)
|
foreach(_t mars_parse mars_text game_sim)
|
||||||
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