Warning, /plasma-mobile/qmlkonsole/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2019 Jonah BrĂ¼chert <jbb@kaidan.im>
0002 # SPDX-License-Identifier: GPL-2.0-or-later
0003
0004 set(qmlkonsole_SRCS
0005 main.cpp
0006 savedcommandsmodel.cpp
0007 terminaltabmodel.cpp
0008 util.cpp
0009 fontlistmodel.cpp
0010 shellcommand.cpp
0011 resources.qrc
0012 )
0013
0014 add_executable(qmlkonsole ${qmlkonsole_SRCS})
0015
0016 kconfig_add_kcfg_files(qmlkonsole GENERATE_MOC terminalsettings.kcfgc)
0017 target_include_directories(qmlkonsole PRIVATE ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR})
0018
0019 target_link_libraries(qmlkonsole
0020 Qt::Core
0021 Qt::Qml
0022 Qt::Quick
0023 Qt::Svg
0024 Qt::Widgets
0025 KF${QT_MAJOR_VERSION}::I18n
0026 KF${QT_MAJOR_VERSION}::ConfigGui
0027 KF${QT_MAJOR_VERSION}::CoreAddons
0028 KF${QT_MAJOR_VERSION}::WindowSystem
0029 )
0030 install(TARGETS qmlkonsole ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0031 install(FILES terminalsettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})