2016-02-23 21:07:23 +01:00
|
|
|
project (cryfs-cli-test)
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
CallAfterTimeoutTest.cpp
|
|
|
|
testutils/CliTest.cpp
|
|
|
|
CliTest_Setup.cpp
|
|
|
|
CliTest_WrongEnvironment.cpp
|
|
|
|
program_options/UtilsTest.cpp
|
|
|
|
program_options/ProgramOptionsTest.cpp
|
|
|
|
program_options/ParserTest.cpp
|
|
|
|
CliTest_ShowingHelp.cpp
|
|
|
|
EnvironmentTest.cpp
|
|
|
|
VersionCheckerTest.cpp
|
2017-09-30 23:42:34 +02:00
|
|
|
CliTest_IntegrityCheck.cpp
|
2019-01-19 22:02:41 +01:00
|
|
|
CryfsUnmountTest.cpp
|
2016-02-23 21:07:23 +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-cli cryfs-unmount fspp-fuse)
|
2016-02-23 21:07:23 +01:00
|
|
|
add_test(${PROJECT_NAME} ${PROJECT_NAME})
|
|
|
|
|
|
|
|
target_enable_style_warnings(${PROJECT_NAME})
|
|
|
|
target_activate_cpp14(${PROJECT_NAME})
|