mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 03:52:48 -05:00
This is a combination of many commits: --------------------------------------------------------------------------- final. add public/private for core classes. wip - big cleanup cosets. index<>, cosets<>, and group<> all defined transparent <void> overrides that operate directly on indices, not names inheritance hierarchy means one can drop or change generator names still missing path support. wip - named cosets fix lang test wip - named generators Move Group docstring away from specialization. Remove tc::Gen; use Group<void> remove tc::Rel add thousands separators for benchmark limits add generators list to tc::group remove pair_map
19 lines
477 B
CMake
19 lines
477 B
CMake
include(GoogleTest)
|
|
|
|
add_executable(test_solve test_solve.cpp)
|
|
target_link_libraries(test_solve tc GTest::gtest_main)
|
|
|
|
add_executable(test_lang test_lang.cpp)
|
|
target_link_libraries(test_lang PUBLIC tc::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_solve)
|
|
gtest_discover_tests(test_lang)
|