diff options
author | crupest <crupest@outlook.com> | 2022-05-15 13:35:50 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-05-15 13:35:50 +0800 |
commit | 2145308fff868b3b0c234d242db4c47ff9607fa3 (patch) | |
tree | 4dbe08dcdc9f15b81588e563981323e898dd2a9f /test/common | |
parent | 4cdfef9bb8a25891fd8283efd0ce18c69435aff0 (diff) | |
download | cru-2145308fff868b3b0c234d242db4c47ff9607fa3.tar.gz cru-2145308fff868b3b0c234d242db4c47ff9607fa3.tar.bz2 cru-2145308fff868b3b0c234d242db4c47ff9607fa3.zip |
...
Diffstat (limited to 'test/common')
-rw-r--r-- | test/common/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/common/CMakeLists.txt b/test/common/CMakeLists.txt index 18f69e32..17cfa85b 100644 --- a/test/common/CMakeLists.txt +++ b/test/common/CMakeLists.txt @@ -1,28 +1,28 @@ -add_executable(cru_base_test +add_executable(CruBaseTest HandlerRegistryTest.cpp PropertyTreeTest.cpp StringTest.cpp StringToNumberConverterTest.cpp StringUtilTest.cpp ) -target_link_libraries(cru_base_test PRIVATE cru_base cru_test_base) +target_link_libraries(CruBaseTest PRIVATE CruBase cru_test_base) if (UNIX) - target_sources(cru_base_test PRIVATE + target_sources(CruBaseTest PRIVATE platform/unix/UnixFileStreamTest.cpp ) endif() if (WIN32) - target_sources(cru_base_test PRIVATE + target_sources(CruBaseTest PRIVATE platform/win/StreamConvertTest.cpp platform/win/Win32FileStreamTest.cpp ) - add_custom_command(TARGET cru_base_test POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_RUNTIME_DLLS:cru_base_test> $<TARGET_FILE_DIR:cru_base_test> + add_custom_command(TARGET CruBaseTest POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_RUNTIME_DLLS:CruBaseTest> $<TARGET_FILE_DIR:CruBaseTest> COMMAND_EXPAND_LISTS ) endif() -catch_discover_tests(cru_base_test) +catch_discover_tests(CruBaseTest) |