Changeset View
Changeset View
Standalone View
Standalone View
plugins/perforce/test/CMakeLists.txt
1 | include_directories( | ||||
---|---|---|---|---|---|
2 | .. | ||||
3 | ${CMAKE_CURRENT_BINARY_DIR}/.. | ||||
4 | ) | ||||
1 | set(perforceplugintest_SRCS | 5 | set(perforceplugintest_SRCS | ||
2 | test_perforce.cpp | 6 | test_perforce.cpp | ||
3 | ../perforceplugin.cpp | 7 | ../perforceplugin.cpp | ||
8 | ${kdevperforce_LOG_PART_SRCS} | ||||
4 | ) | 9 | ) | ||
5 | include_directories(../) | | |||
6 | 10 | | |||
7 | add_definitions( "-DP4_CLIENT_STUB_EXE=\"${CMAKE_CURRENT_BINARY_DIR}/../p4clientstub/p4clientstub\"" ) | 11 | add_definitions( "-DP4_CLIENT_STUB_EXE=\"${CMAKE_CURRENT_BINARY_DIR}/../p4clientstub/p4clientstub\"" ) | ||
8 | 12 | | |||
9 | ecm_add_test(${perforceplugintest_SRCS} | 13 | ecm_add_test(${perforceplugintest_SRCS} | ||
10 | TEST_NAME test_kdevperforce | 14 | TEST_NAME test_kdevperforce | ||
11 | LINK_LIBRARIES Qt5::Test KDev::Vcs KDev::Util KDev::Tests ) | 15 | LINK_LIBRARIES Qt5::Test KDev::Vcs KDev::Util KDev::Tests ) | ||
12 | 16 | |