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 set(KF5_MIN_VERSION 5.4)
0020 
0021 include(KDEInstallDirs)
0022 include(KDECMakeSettings)
0023 #include(KDECompilerSettings)
0024 include(FeatureSummary)
0025 
0026 find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
0027     Core    # QStringLiteral
0028     Widgets # QApplication, QAction
0029 )
0030 
0031 find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
0032     CoreAddons      # KAboutData
0033     XmlGui          # KXmlGuiWindow, KActionCollection
0034     ConfigWidgets   # KStandardActions
0035 )
0036 
0037 feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
0038 
0039 include(audio/CMakeLists.txt)
0040 include(core/CMakeLists.txt)
0041 include(image/CMakeLists.txt)
0042 include(text/CMakeLists.txt)
0043 include(ui/CMakeLists.txt)
0044 include(util/CMakeLists.txt)
0045 
0046 set(mark_SRC
0047     main.cpp
0048     ${AUDIO_SRC}
0049     ${CORE_SRC}
0050     ${IMAGE_SRC}
0051     ${TEXT_SRC}
0052     ${UI_SRC}
0053     ${UTIL_SRC}
0054 )
0055 
0056 add_executable(mark ${mark_SRC})
0057 
0058 target_link_libraries(mark
0059     Qt5::Core
0060     Qt5::Widgets
0061     KF5::CoreAddons
0062     KF5::XmlGui
0063 )
0064 
0065 install(TARGETS mark ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})