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
|
|
|
|
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
|
2016-06-27 01:53:10 +02:00
|
|
|
localstate/MyClientIdTest.cpp
|
2016-02-11 16:39:42 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_executable(${PROJECT_NAME} ${SOURCES})
|
2016-02-23 21:07:23 +01:00
|
|
|
target_link_libraries(${PROJECT_NAME} 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})
|