mirror of
https://github.com/QuasarApp/qca.git
synced 2025-05-10 09:49:33 +00:00
just "make test" and it will run the appropriate tests. svn path=/trunk/kdesupport/qca/; revision=609827
14 lines
383 B
CMake
14 lines
383 B
CMake
ENABLE_TESTING()
|
|
|
|
set(hashunittest_bin_SRCS hashunittest.cpp)
|
|
|
|
MY_AUTOMOC( hashunittest_bin_SRCS )
|
|
|
|
add_executable( hashunittest ${hashunittest_bin_SRCS} )
|
|
|
|
target_link_libraries( hashunittest qca ${QT_QTTEST_LIBRARY})
|
|
|
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/data/empty ${CMAKE_CURRENT_BINARY_DIR}/data/empty COPYONLY)
|
|
|
|
ADD_TEST(Hashing ${EXECUTABLE_OUTPUT_PATH}/hashunittest)
|