Warning, /education/mark/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # Copyright (C) 2020 by Caio Jordão Carvalho <caiojcarvalho@gmail.com> 0002 # 0003 # This program is free software; you can redistribute it and/or 0004 # modify it under the terms of the GNU General Public License as 0005 # published by the Free Software Foundation; either version 3 of 0006 # the License, or (at your option) any later version. 0007 # 0008 # This program is distributed in the hope that it will be useful, 0009 # but WITHOUT ANY WARRANTY; without even the implied warranty of 0010 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0011 # GNU General Public License for more details. 0012 # 0013 # You should have received a copy of the GNU General Public License 0014 # along with this program. If not, see <http://www.gnu.org/licenses/>. 0015 0016 find_package(ECM 1.0.0 REQUIRED NO_MODULE) 0017 set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) 0018 0019 include(KDEInstallDirs) 0020 include(KDECMakeSettings) 0021 #include(KDECompilerSettings) 0022 include(FeatureSummary) 0023 0024 find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS 0025 Core # QStringLiteral 0026 Widgets # QApplication, QAction 0027 ) 0028 0029 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS 0030 CoreAddons # KAboutData 0031 XmlGui # KXmlGuiWindow, KActionCollection 0032 ConfigWidgets # KStandardActions 0033 ) 0034 0035 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) 0036 0037 include(audio/CMakeLists.txt) 0038 include(core/CMakeLists.txt) 0039 include(image/CMakeLists.txt) 0040 include(text/CMakeLists.txt) 0041 include(ui/CMakeLists.txt) 0042 include(util/CMakeLists.txt) 0043 0044 set(mark_SRC 0045 main.cpp 0046 ${AUDIO_SRC} 0047 ${CORE_SRC} 0048 ${IMAGE_SRC} 0049 ${TEXT_SRC} 0050 ${UI_SRC} 0051 ${UTIL_SRC} 0052 ) 0053 0054 add_executable(mark ${mark_SRC}) 0055 0056 target_link_libraries(mark 0057 Qt5::Core 0058 Qt5::Widgets 0059 KF5::CoreAddons 0060 KF5::XmlGui 0061 ) 0062 0063 install(TARGETS mark ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0064 install(FILES ui/markui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/mark)