diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-09-03 12:42:10 +0800 |
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-09-03 12:42:10 +0800 |
| commit | efa1266f10e90c0c46f47cc06645422142cb2d9f (patch) | |
| tree | 3d8cfefb81ce4645d150c08fc52ad646b6da80e2 /test/common/CMakeLists.txt | |
| parent | 5e59a8e38c9f8992e6ffd9dbbde11e1f873780e1 (diff) | |
| download | cru-efa1266f10e90c0c46f47cc06645422142cb2d9f.tar.gz cru-efa1266f10e90c0c46f47cc06645422142cb2d9f.tar.bz2 cru-efa1266f10e90c0c46f47cc06645422142cb2d9f.zip | |
common -> base in test dir.
Diffstat (limited to 'test/common/CMakeLists.txt')
| -rw-r--r-- | test/common/CMakeLists.txt | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/test/common/CMakeLists.txt b/test/common/CMakeLists.txt deleted file mode 100644 index 683c8295..00000000 --- a/test/common/CMakeLists.txt +++ /dev/null @@ -1,40 +0,0 @@ -add_executable(CruBaseTest - Event2Test.cpp - HandlerRegistryTest.cpp - PropertyTreeTest.cpp - SelfResolvableTest.cpp - StringTest.cpp - StringToNumberConverterTest.cpp - StringUtilTest.cpp - SubProcessTest.cpp -) -target_link_libraries(CruBaseTest PRIVATE CruBase CruTestBase) - -add_executable(CruTestHelperEcho - SubProcessHelper/CruEcho.cpp -) - -add_executable(CruTestHelperTee - SubProcessHelper/CruTee.cpp -) - -target_compile_definitions(CruBaseTest PRIVATE - CRU_TEST_HELPER_ECHO_LOCATION="$<TARGET_FILE:CruTestHelperEcho>" - CRU_TEST_HELPER_TEE_LOCATION="$<TARGET_FILE:CruTestHelperTee>" -) - -if (UNIX AND NOT EMSCRIPTEN) - target_sources(CruBaseTest PRIVATE - platform/unix/UnixFileTest.cpp - platform/unix/UnixFileStreamTest.cpp - ) -endif() - -if (WIN32) - target_sources(CruBaseTest PRIVATE - platform/win/StreamConvertTest.cpp - platform/win/Win32FileStreamTest.cpp - ) -endif() - -cru_catch_discover_tests(CruBaseTest) |
