Define M5.1 local voxel contract and expand M5-M9 gates
This commit is contained in:
@@ -34,6 +34,12 @@ target_include_directories(evo_simulation PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/in
|
||||
target_compile_features(evo_simulation PUBLIC cxx_std_23)
|
||||
evo_owned_target(evo_simulation)
|
||||
|
||||
add_library(evo_world STATIC src/world/coordinates.cpp)
|
||||
add_library(evo::world ALIAS evo_world)
|
||||
target_include_directories(evo_world PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
target_compile_features(evo_world PUBLIC cxx_std_23)
|
||||
evo_owned_target(evo_world)
|
||||
|
||||
add_library(evo_accounting STATIC src/accounting/ledger.cpp)
|
||||
add_library(evo::accounting ALIAS evo_accounting)
|
||||
target_include_directories(evo_accounting PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
@@ -65,6 +71,12 @@ evo_owned_target(evo-sim)
|
||||
|
||||
include(CTest)
|
||||
if(BUILD_TESTING)
|
||||
add_executable(evo-world-coordinate-tests tests/world_coordinates_tests.cpp)
|
||||
target_link_libraries(evo-world-coordinate-tests PRIVATE evo::world)
|
||||
evo_owned_target(evo-world-coordinate-tests)
|
||||
add_test(NAME world-coordinate-contracts COMMAND evo-world-coordinate-tests)
|
||||
set_tests_properties(world-coordinate-contracts PROPERTIES TIMEOUT 60)
|
||||
|
||||
add_executable(evo-feeding-tests tests/feeding_tests.cpp)
|
||||
target_link_libraries(evo-feeding-tests PRIVATE evo::processes)
|
||||
evo_owned_target(evo-feeding-tests)
|
||||
|
||||
Reference in New Issue
Block a user