Trenesis/tests/CMakeLists.txt
Paul Breugnot 61aec3d856 Internal train network structure
- Defines Network, StopArea, StopPoints and JourneySections
- Loads them from json using the build_from_json method
2026-01-03 14:34:00 +01:00

21 lines
292 B
CMake

add_subdirectory(googletest)
add_executable(
test_trenesis
trenesis/test.cpp
trenesis/network/graph.cpp
)
target_link_libraries(
test_trenesis
trenesis
GTest::gtest_main
GTest::gmock_main
)
include_directories(
assets
)
include(GoogleTest)
gtest_discover_tests(test_trenesis)