4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-11 02:09:33 +00:00
qca/unittest/cms/CMakeLists.txt
Ivan Romanov 9504d1c8e0 cmake: put all runtime to bin when compiling
The most it is need for windows where no rpath and all dll's must be
in the same dir (or in PATH environment)
2014-02-02 02:35:55 +06:00

16 lines
433 B
CMake

ENABLE_TESTING()
set(cms_bin_SRCS cms.cpp)
MY_AUTOMOC( cms_bin_SRCS )
add_executable(cms ${cms_bin_SRCS} )
target_link_qca_test_libraries(cms)
FOREACH( testFileName QcaTestRootCert.pem QcaTestClientCert.pem QcaTestClientKey.pem )
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${testFileName} ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${testFileName} COPYONLY)
ENDFOREACH( testFileName )
add_qca_test(cms "CryptographicMessageSyntax")