mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-30 21:44:30 +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
315 B
CMake
12 lines
315 B
CMake
ENABLE_TESTING()
|
|
|
|
set(securearrayunittest_bin_SRCS securearrayunittest.cpp)
|
|
|
|
MY_AUTOMOC( securearrayunittest_bin_SRCS )
|
|
|
|
add_executable( securearrayunittest ${securearrayunittest_bin_SRCS} )
|
|
|
|
target_link_qca_test_libraries(securearrayunittest)
|
|
|
|
ADD_TEST(SecureArray ${EXECUTABLE_OUTPUT_PATH}/securearrayunittest)
|