mirror of
https://github.com/QuasarApp/qca.git
synced 2025-05-08 16:59:33 +00:00
QCA_LIB_SUFFIX intended to replace workaround 3 major version. For building for Qt5 can be used -DQCA_LIB_SUFFIX=qt5 for example. Result will be named libqca2-qt5.so.2.0.3 library for Linux. Also this suffix will be applied for qca2 pkg config file, qcatool2 binary and qcatool2 manpage. I hope that is a good way to resolve the building conflict against qt4 and qt5.
12 lines
320 B
CMake
12 lines
320 B
CMake
ENABLE_TESTING()
|
|
|
|
set(randomunittest_bin_SRCS randomunittest.cpp)
|
|
|
|
MY_AUTOMOC( randomunittest_bin_SRCS )
|
|
|
|
add_executable( randomunittest ${randomunittest_bin_SRCS} )
|
|
|
|
target_link_libraries( randomunittest ${QCA_LIB_NAME} ${QT_QTTEST_LIBRARY})
|
|
|
|
ADD_TEST(RandomNumberGeneration ${EXECUTABLE_OUTPUT_PATH}/randomunittest)
|