Changeset View
Changeset View
Standalone View
Standalone View
autotests/CMakeLists.txt
Show All 32 Lines | |||||
33 | 33 | | |||
34 | add_definitions(-DTEST_DATA_DIR=\"${CMAKE_SOURCE_DIR}/autotests/input/\") | 34 | add_definitions(-DTEST_DATA_DIR=\"${CMAKE_SOURCE_DIR}/autotests/input/\") | ||
35 | add_definitions(-DJS_DATA_DIR=\"${CMAKE_SOURCE_DIR}/src/script/data/\") | 35 | add_definitions(-DJS_DATA_DIR=\"${CMAKE_SOURCE_DIR}/src/script/data/\") | ||
36 | 36 | | |||
37 | set (KTEXTEDITOR_TEST_LINK_LIBS KF5TextEditor | 37 | set (KTEXTEDITOR_TEST_LINK_LIBS KF5TextEditor | ||
38 | KF5::I18n | 38 | KF5::I18n | ||
39 | KF5::IconThemes | 39 | KF5::IconThemes | ||
40 | KF5::GuiAddons | 40 | KF5::GuiAddons | ||
41 | Qt5::Script | 41 | Qt5::Qml | ||
42 | ) | 42 | ) | ||
43 | 43 | | |||
44 | include(ECMMarkAsTest) | 44 | include(ECMMarkAsTest) | ||
45 | 45 | | |||
46 | # test executable for encoding | 46 | # test executable for encoding | ||
47 | add_executable(kateencodingtest src/kateencodingtest.cpp) | 47 | add_executable(kateencodingtest src/kateencodingtest.cpp) | ||
48 | target_link_libraries(kateencodingtest ${KTEXTEDITOR_TEST_LINK_LIBS}) | 48 | target_link_libraries(kateencodingtest ${KTEXTEDITOR_TEST_LINK_LIBS}) | ||
49 | ecm_mark_as_test(kateencodingtest) | 49 | ecm_mark_as_test(kateencodingtest) | ||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |