2016-02-11 12:04:49 +01:00
|
|
|
project (cpp-utils-test)
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
crypto/symmetric/CipherTest.cpp
|
|
|
|
crypto/kdf/SCryptTest.cpp
|
2016-02-22 02:38:06 +01:00
|
|
|
crypto/kdf/SCryptParametersTest.cpp
|
2017-09-30 09:49:24 +02:00
|
|
|
crypto/hash/HashTest.cpp
|
2016-02-11 12:04:49 +01:00
|
|
|
MacrosIncludeTest.cpp
|
|
|
|
pointer/unique_ref_test.cpp
|
|
|
|
pointer/cast_include_test.cpp
|
|
|
|
pointer/cast_test.cpp
|
|
|
|
pointer/unique_ref_boost_optional_gtest_workaround_include_test.cpp
|
|
|
|
pointer/optional_ownership_ptr_include_test.cpp
|
|
|
|
pointer/optional_ownership_ptr_test.cpp
|
|
|
|
pointer/unique_ref_include_test.cpp
|
|
|
|
process/daemonize_include_test.cpp
|
|
|
|
process/subprocess_include_test.cpp
|
|
|
|
tempfile/TempFileTest.cpp
|
|
|
|
tempfile/TempFileIncludeTest.cpp
|
|
|
|
tempfile/TempDirIncludeTest.cpp
|
|
|
|
tempfile/TempDirTest.cpp
|
|
|
|
network/CurlHttpClientTest.cpp
|
|
|
|
network/FakeHttpClientTest.cpp
|
|
|
|
io/ConsoleIncludeTest.cpp
|
|
|
|
io/ConsoleTest_AskYesNo.cpp
|
|
|
|
io/ConsoleTest_Print.cpp
|
|
|
|
io/ConsoleTest_Ask.cpp
|
|
|
|
random/RandomIncludeTest.cpp
|
|
|
|
lock/LockPoolIncludeTest.cpp
|
|
|
|
lock/ConditionBarrierIncludeTest.cpp
|
|
|
|
lock/MutexPoolLockIncludeTest.cpp
|
|
|
|
data/FixedSizeDataTest.cpp
|
|
|
|
data/DataFixtureIncludeTest.cpp
|
|
|
|
data/DataFixtureTest.cpp
|
|
|
|
data/DataTest.cpp
|
|
|
|
data/FixedSizeDataIncludeTest.cpp
|
2017-12-03 20:01:41 +01:00
|
|
|
data/SerializationHelperTest.cpp
|
2016-02-11 12:04:49 +01:00
|
|
|
data/DataIncludeTest.cpp
|
|
|
|
logging/LoggingLevelTest.cpp
|
|
|
|
logging/LoggerTest.cpp
|
|
|
|
logging/LoggingTest.cpp
|
|
|
|
logging/LoggerIncludeTest.cpp
|
|
|
|
logging/LoggingIncludeTest.cpp
|
|
|
|
assert/assert_release_test.cpp
|
|
|
|
assert/backtrace_include_test.cpp
|
|
|
|
assert/assert_include_test.cpp
|
|
|
|
assert/assert_debug_test.cpp
|
2017-09-05 01:43:43 +02:00
|
|
|
system/MemoryTest.cpp
|
2016-02-11 12:04:49 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(${PROJECT_NAME} ${SOURCES})
|
2016-02-11 14:01:59 +01:00
|
|
|
target_link_libraries(${PROJECT_NAME} googletest cpp-utils)
|
2016-02-11 12:04:49 +01:00
|
|
|
add_test(${PROJECT_NAME} ${PROJECT_NAME})
|
|
|
|
|
2016-02-11 12:57:50 +01:00
|
|
|
target_enable_style_warnings(${PROJECT_NAME})
|
|
|
|
target_activate_cpp14(${PROJECT_NAME})
|