mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 12:02:47 -05:00
19 lines
482 B
CMake
19 lines
482 B
CMake
include(GoogleTest)
|
|
|
|
add_executable(test_pair_map test_pair_map.cpp)
|
|
target_link_libraries(test_pair_map tc GTest::gtest_main)
|
|
|
|
add_executable(test_solve test_solve.cpp)
|
|
target_link_libraries(test_solve tc GTest::gtest_main)
|
|
|
|
set(MIN_DEBUG_CPS 200000)
|
|
set(MIN_RELEASE_CPS 1000000)
|
|
|
|
target_compile_definitions(
|
|
test_solve PUBLIC
|
|
MIN_COS_PER_SEC=$<IF:$<CONFIG:Debug>,${MIN_DEBUG_CPS},${MIN_RELEASE_CPS}>
|
|
)
|
|
|
|
gtest_discover_tests(test_pair_map)
|
|
gtest_discover_tests(test_solve)
|