Warning, /plasma/kinfocenter/src/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-License-Identifier: BSD-3-Clause
0002 # SPDX-FileCopyrightText: 2021 Harald Sitter <sitter@kde.org>
0003 
0004 add_library(KInfoCenterInternal SHARED CommandOutputContext.cpp CommandOutputContext.h)
0005 target_link_libraries(KInfoCenterInternal Qt::Qml KF5::I18n KF5::CoreAddons)
0006 # Disable legacy stuff to get rid of some deprecation warnings. Notably duplicated QProcess::finished overloads.
0007 target_compile_definitions(KInfoCenterInternal PRIVATE -DQT_DISABLE_DEPRECATED_BEFORE=0x050e00)
0008 target_include_directories(KInfoCenterInternal INTERFACE "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>")
0009 
0010 # NB: this is a private library that may not be linked to. Symbol visibility is of no concern. Neither is versioning.
0011 set_target_properties(KInfoCenterInternal
0012     PROPERTIES
0013         C_VISIBILITY_PRESET default
0014         CXX_VISIBILITY_PRESET default
0015         VISIBILITY_INLINES_HIDDEN OFF)
0016 
0017 install(DIRECTORY qml/ DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/kinfocenter/private)
0018 install(TARGETS KInfoCenterInternal ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)