Changeset View
Changeset View
Standalone View
Standalone View
tests/protocols/qq/CMakeLists.txt
- This file was added.
1 | find_package(Qt5 REQUIRED COMPONENTS Test) | ||||
---|---|---|---|---|---|
2 | include_directories( | ||||
3 | ${CMAKE_SOURCE_DIR}/protocols/qq | ||||
4 | ${CMAKE_SOURCE_DIR}/protocols/qq/icons | ||||
5 | ${CMAKE_SOURCE_DIR}/protocols/qq/ui | ||||
6 | ${KOPETE_SOURCE_DIR} | ||||
7 | ) | ||||
8 | | ||||
9 | set( | ||||
10 | QQ_TEST_LIBRARIES | ||||
11 | KF5::KDELibs4Support | ||||
12 | Qt5::Test | ||||
13 | ${CMAKE_SOURCE_DIR}/protocols/qq/crypt.cpp | ||||
14 | ) | ||||
15 | | ||||
16 | # Test for crypt(TEA) | ||||
17 | set(qqcrypttest_SRCS qqcrypttest.cpp) | ||||
18 | ecm_add_test( | ||||
19 | ${qqcrypttest_SRCS} | ||||
20 | LINK_LIBRARIES ${QQ_TEST_LIBRARIES} | ||||
21 | ) |