Warning, /education/kwordquiz/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 add_subdirectory(pics) # private icons 0003 add_subdirectory(icons) # global icons 0004 add_subdirectory(examples) 0005 0006 # include_directories( ${LIBKDEEDU_INCLUDE_DIR} ) 0007 0008 include_directories( 0009 ${CMAKE_CURRENT_SOURCE_DIR} 0010 ${CMAKE_CURRENT_BINARY_DIR} 0011 ) 0012 0013 configure_file(resources.qrc ${CMAKE_CURRENT_SOURCE_DIR}/resources.generated.qrc) 0014 0015 ########### next target ############### 0016 0017 ecm_setup_version(${RELEASE_SERVICE_VERSION} 0018 VARIABLE_PREFIX KWORDQUIZ 0019 VERSION_HEADER kwordquiz_version.h 0020 ) 0021 0022 set(kwordquiz_SRCS 0023 main.cpp 0024 kwqcardmodel.h 0025 kwqcardmodel.cpp 0026 kwqdocumentmodel.h 0027 kwqdocumentmodel.cpp 0028 kwqrandomsortmodel.h 0029 kwqrandomsortmodel.cpp 0030 exporter.h 0031 exporter.cpp 0032 blankanswer.h 0033 blankanswer.cpp 0034 fileopener.h 0035 fileopener.cpp 0036 languagelistmodel.h 0037 languagelistmodel.cpp 0038 resources.qrc 0039 ) 0040 0041 kconfig_add_kcfg_files(kwordquiz_SRCS GENERATE_MOC prefs.kcfgc documentsettings.kcfgc stateprefs.kcfgc) 0042 0043 file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*-apps-kwordquiz.png") 0044 ecm_add_app_icon(kwordquiz_SRCS ICONS ${ICONS_SRCS}) 0045 0046 add_executable(kwordquiz ${kwordquiz_SRCS}) 0047 0048 target_link_libraries(kwordquiz 0049 Qt6::Core 0050 Qt6::Quick 0051 Qt6::QuickControls2 0052 Qt6::PrintSupport 0053 Qt6::Svg 0054 Qt6::Multimedia 0055 KF6::Crash 0056 KF6::ConfigCore 0057 KF6::ConfigGui 0058 KF6::I18n 0059 KF6::NewStuffCore 0060 KF6::DBusAddons 0061 LibKEduVocDocumentImport__KEduVocDocument 0062 ) 0063 0064 install(TARGETS kwordquiz ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0065 0066 ########### install files ############### 0067 0068 install(PROGRAMS org.kde.kwordquiz.desktop DESTINATION ${KDE_INSTALL_APPDIR}) 0069 install(FILES kwordquiz.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR}) 0070 install(FILES kwordquiz.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR}) 0071