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     savedcommandsmodel.h
0008     terminaltabmodel.cpp
0009     terminaltabmodel.h
0010     util.cpp
0011     util.h
0012     fontlistmodel.cpp
0013     fontlistmodel.h
0014     shellcommand.cpp
0015     shellcommand.h
0016     resources.qrc
0017 )
0018 
0019 add_executable(qmlkonsole ${qmlkonsole_SRCS})
0020 
0021 kconfig_add_kcfg_files(qmlkonsole GENERATE_MOC terminalsettings.kcfgc)
0022 target_include_directories(qmlkonsole PRIVATE ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_BINARY_DIR})
0023 
0024 target_link_libraries(qmlkonsole 
0025     Qt::Core
0026     Qt::Qml
0027     Qt::Quick
0028     Qt::Svg
0029     Qt::Widgets
0030     KF6::I18n
0031     KF6::ConfigGui
0032     KF6::CoreAddons
0033     KF6::WindowSystem
0034     KonsoleQML
0035 )
0036 install(TARGETS qmlkonsole ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0037 install(FILES terminalsettings.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})