Warning, /plasma/plasma-nm/libs/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_definitions(-DTRANSLATION_DOMAIN=\"plasmanetworkmanagement-libs\") 0002 0003 0004 0005 0006 add_library(plasmanm_internal SHARED) 0007 generate_export_header(plasmanm_internal) 0008 0009 ecm_qt_declare_logging_category(plasmanm_internal HEADER plasma_nm_libs.h IDENTIFIER PLASMA_NM_LIBS_LOG CATEGORY_NAME org.kde.plasma.nm.libs DESCRIPTION "Plasma NM (libs)" EXPORT PLASMANM) 0010 target_sources(plasmanm_internal PRIVATE 0011 models/appletproxymodel.cpp 0012 models/creatableconnectionsmodel.cpp 0013 models/editorproxymodel.cpp 0014 models/kcmidentitymodel.cpp 0015 models/mobileproxymodel.cpp 0016 models/networkitemslist.cpp 0017 models/networkmodel.cpp 0018 models/networkmodelitem.cpp 0019 configurationproxy.cpp 0020 handler.cpp 0021 models/appletproxymodel.h 0022 models/creatableconnectionsmodel.h 0023 models/editorproxymodel.h 0024 models/kcmidentitymodel.h 0025 models/mobileproxymodel.h 0026 models/networkitemslist.h 0027 models/networkmodel.h 0028 models/networkmodelitem.h 0029 configurationproxy.h 0030 handler.h 0031 availabledevices.cpp 0032 connectionicon.cpp 0033 enabledconnections.cpp 0034 enums.cpp 0035 networkstatus.cpp 0036 wirelessstatus.cpp 0037 availabledevices.h 0038 connectionicon.h 0039 enabledconnections.h 0040 enums.h 0041 networkstatus.h 0042 wirelessstatus.h 0043 ) 0044 0045 target_include_directories(plasmanm_internal PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/models) 0046 0047 target_link_libraries(plasmanm_internal 0048 PUBLIC 0049 KF6::NetworkManagerQt 0050 plasmanm_editor 0051 PkgConfig::NETWORKMANAGER 0052 QCoro::Core 0053 PRIVATE 0054 Qt6::Qml 0055 KF6::I18n 0056 KF6::Notifications 0057 KF6::Service 0058 KF6::Wallet 0059 KF6::WindowSystem 0060 KF6::KIOGui 0061 QCoro::DBus 0062 ) 0063 0064 target_link_libraries(plasmanm_internal PUBLIC KF6::ModemManagerQt) 0065 0066 ecm_add_qml_module(plasmanm_internal URI org.kde.plasma.networkmanagement GENERATE_PLUGIN_SOURCE) 0067 ecm_finalize_qml_module(plasmanm_internal) 0068 0069 install(TARGETS plasmanm_internal ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) 0070 0071 add_subdirectory(editor)