Warning, /utilities/kdebugsettings/src/widgets/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
0002 # SPDX-License-Identifier: BSD-3-Clause
0003 include_directories(${CMAKE_BINARY_DIR})
0004 
0005 add_library(libkdebugsettings SHARED)
0006 
0007 ecm_qt_declare_logging_category(libkdebugsettings HEADER kdebugsettings_debug.h IDENTIFIER KDEBUGSETTINGS_LOG CATEGORY_NAME log_kdebugsettings DESCRIPTION "kdebugsettings" EXPORT KDEBUGSETTINGS)
0008 
0009 target_sources(libkdebugsettings PRIVATE
0010     categorytypecombobox.cpp
0011     categorytypecombobox.h
0012     categorywarning.cpp
0013     categorywarning.h
0014     configurecustomsettingdialog.cpp
0015     configurecustomsettingdialog.h
0016     configurecustomsettingwidget.cpp
0017     configurecustomsettingwidget.h
0018     customdebugsettingspage.cpp
0019     customdebugsettingspage.h
0020     environmentplaintextedit.cpp
0021     environmentplaintextedit.h
0022     environmentsettingsrulespage.cpp
0023     environmentsettingsrulespage.h
0024     groupmanagementdialog.cpp
0025     groupmanagementdialog.h
0026     groupmanagementwidget.cpp
0027     groupmanagementwidget.h
0028     kdeapplicationdebugsettingpage.cpp
0029     kdeapplicationdebugsettingpage.h
0030     kdebugsettingsdialog.cpp
0031     kdebugsettingsdialog.h
0032     libkdebugsettings_private_export.h
0033     loadgroupmenu.cpp
0034     loadgroupmenu.h
0035     loadtoolbutton.cpp
0036     loadtoolbutton.h
0037     savetoolbutton.cpp
0038     savetoolbutton.h
0039 
0040     customdebuglistview.h
0041     customdebuglistview.cpp
0042 
0043 
0044     kdeapplicationtreeview.h
0045     kdeapplicationtreeview.cpp
0046     kdeapplicationlistviewdelegate.h
0047     kdeapplicationlistviewdelegate.cpp
0048     )
0049 
0050 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
0051     set_target_properties(libkdebugsettings PROPERTIES UNITY_BUILD ON)
0052 endif()
0053 generate_export_header(libkdebugsettings BASE_NAME libkdebugsettings)
0054 target_link_libraries(libkdebugsettings
0055     Qt::Core
0056     KF6::Completion
0057     KF6::ConfigCore
0058     KF6::CoreAddons
0059     KF6::I18n
0060     Qt::Widgets
0061     KF6::WidgetsAddons
0062     KF6::ConfigGui
0063     KF6::XmlGui
0064     libkdebugsettingscore
0065 )
0066 
0067 set_target_properties(libkdebugsettings
0068     PROPERTIES OUTPUT_NAME kdebugsettings VERSION ${KDEBUGSETTINGS_LIB_VERSION} SOVERSION ${KDEBUGSETTINGS_LIB_SOVERSION}
0069     )
0070 
0071 install(TARGETS libkdebugsettings ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
0072 
0073 if (BUILD_TESTING)
0074     add_subdirectory( autotests )
0075     add_subdirectory( tests )
0076 endif()
0077