2016-02-11 16:39:42 +01:00
|
|
|
project (cryfs-test)
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
config/crypto/CryConfigEncryptorFactoryTest.cpp
|
|
|
|
config/crypto/outer/OuterConfigTest.cpp
|
|
|
|
config/crypto/outer/OuterEncryptorTest.cpp
|
|
|
|
config/crypto/inner/ConcreteInnerEncryptorTest.cpp
|
|
|
|
config/crypto/inner/InnerConfigTest.cpp
|
|
|
|
config/crypto/CryConfigEncryptorTest.cpp
|
|
|
|
config/CompatibilityTest.cpp
|
|
|
|
config/CryConfigCreatorTest.cpp
|
|
|
|
config/CryConfigFileTest.cpp
|
|
|
|
config/CryConfigTest.cpp
|
|
|
|
config/CryCipherTest.cpp
|
|
|
|
config/CryConfigLoaderTest.cpp
|
|
|
|
config/CryConfigConsoleTest.cpp
|
2018-10-22 04:31:08 +02:00
|
|
|
config/CryPasswordBasedKeyProviderTest.cpp
|
2018-10-28 02:18:32 +01:00
|
|
|
config/CryPresetPasswordBasedKeyProviderTest.cpp
|
2016-02-11 16:39:42 +01:00
|
|
|
filesystem/CryFsTest.cpp
|
2016-04-26 02:42:17 +02:00
|
|
|
filesystem/CryNodeTest.cpp
|
2016-02-11 16:39:42 +01:00
|
|
|
filesystem/FileSystemTest.cpp
|
2017-09-28 08:41:08 +02:00
|
|
|
localstate/LocalStateMetadataTest.cpp
|
|
|
|
localstate/BasedirMetadataTest.cpp
|
2016-02-11 16:39:42 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(${PROJECT_NAME} ${SOURCES})
|
2019-03-24 06:01:26 +01:00
|
|
|
target_link_libraries(${PROJECT_NAME} my-gtest-main googletest cryfs)
|
2016-02-11 16:39:42 +01:00
|
|
|
add_test(${PROJECT_NAME} ${PROJECT_NAME})
|
|
|
|
|
|
|
|
target_enable_style_warnings(${PROJECT_NAME})
|
|
|
|
target_activate_cpp14(${PROJECT_NAME})
|