if (WITH_TESTS) set(TST_COMPONENT CppEditor CppTools) endif() add_qtc_plugin(FakeVim PLUGIN_DEPENDS Core TextEditor ${TST_COMPONENT} SOURCES ${TEST_SOURCES} fakevim.qrc fakevimactions.cpp fakevimactions.h fakevimhandler.cpp fakevimhandler.h fakevimoptions.ui fakevimplugin.cpp fakevimplugin.h fakevimtr.h ) if (WITH_TESTS) target_sources(FakeVim PRIVATE fakevim_test.cpp) endif()