Warning, /frameworks/ktexteditor/autotests/src/vimode/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}) 0002 0003 include_directories( 0004 ${CMAKE_SOURCE_DIR}/src/vimode 0005 ) 0006 0007 set (VIMODE_TEST_LINK_LIBS KF5TextEditor 0008 KF5::I18n 0009 KF5::SyntaxHighlighting 0010 Qt${QT_MAJOR_VERSION}::Qml 0011 Qt${QT_MAJOR_VERSION}::Test 0012 ) 0013 0014 macro(vimode_unit_test) 0015 ecm_add_test(${ARGN} TEST_NAME "vimode_${ARGV0}" 0016 LINK_LIBRARIES ${VIMODE_TEST_LINK_LIBS}) 0017 endmacro() 0018 0019 0020 vimode_unit_test(modes modes.cpp base.cpp) 0021 vimode_unit_test(view view.cpp base.cpp) 0022 vimode_unit_test(completion completion.cpp base.cpp fakecodecompletiontestmodel.cpp) 0023 vimode_unit_test(keys keys.cpp base.cpp fakecodecompletiontestmodel.cpp emulatedcommandbarsetupandteardown.cpp) 0024 vimode_unit_test(emulatedcommandbar emulatedcommandbar.cpp base.cpp fakecodecompletiontestmodel.cpp emulatedcommandbarsetupandteardown.cpp) 0025 vimode_unit_test(hlsearch hlsearch.cpp base.cpp emulatedcommandbarsetupandteardown.cpp) 0026 0027 add_custom_target(vimode_tests ${CMAKE_CTEST_COMMAND} --force-new-ctest-process -R "^vimode_")