mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-27 12:04:31 +00:00
Added new cmake variable SHARED_LIBRARY. By default is on. When it is off QCA library, plugins, tools, examples and unittests will be built as static. Also if is used static Qt plugins will be built as static. Tested with Qt4.
12 lines
270 B
CMake
12 lines
270 B
CMake
ENABLE_TESTING()
|
|
|
|
set( kdfunittest_bin_SRCS kdfunittest.cpp)
|
|
|
|
MY_AUTOMOC( kdfunittest_bin_SRCS )
|
|
|
|
add_executable( kdfunittest ${kdfunittest_bin_SRCS} )
|
|
|
|
target_link_qca_test_libraries(kdfunittest)
|
|
|
|
ADD_TEST(KeyDerivationFunction ${EXECUTABLE_OUTPUT_PATH}/kdfunittest)
|