Warning, /kdevelop/kdevelop/plugins/heaptrack/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_definitions(-DTRANSLATION_DOMAIN=\"kdevheaptrack\")
0002 
0003 find_package(heaptrack QUIET)
0004 set_package_properties(heaptrack PROPERTIES
0005     DESCRIPTION "A heap memory profiler for Linux"
0006     URL "https://phabricator.kde.org/dashboard/view/28"
0007     PURPOSE "Recommended: required by the non-essential heaptrack plugin"
0008     TYPE RUNTIME
0009 )
0010 find_package(heaptrack_gui QUIET)
0011 set_package_properties(heaptrack_gui PROPERTIES
0012     DESCRIPTION "Analyzer gui for heaptrack, a heap memory profiler for Linux"
0013     URL "https://phabricator.kde.org/dashboard/view/28"
0014     PURPOSE "Recommended: required by the non-essential heaptrack plugin"
0015     TYPE RUNTIME
0016 )
0017 
0018 set(kdevheaptrack_SRCS
0019     job.cpp
0020     plugin.cpp
0021     utils.cpp
0022     visualizer.cpp
0023 
0024     config/globalconfigpage.cpp
0025 )
0026 declare_qt_logging_category(kdevheaptrack_SRCS
0027     TYPE PLUGIN
0028     IDENTIFIER KDEV_HEAPTRACK
0029     CATEGORY_BASENAME "heaptrack"
0030 )
0031 ki18n_wrap_ui(kdevheaptrack_SRCS
0032     config/globalconfigpage.ui
0033 )
0034 qt5_add_resources(kdevheaptrack_SRCS
0035     kdevheaptrack.qrc
0036 )
0037 kconfig_add_kcfg_files(kdevheaptrack_CONFIG_SRCS
0038     config/globalsettings.kcfgc
0039 )
0040 add_library(kdevheaptrack_config STATIC
0041     ${kdevheaptrack_CONFIG_SRCS}
0042 )
0043 target_link_libraries(kdevheaptrack_config
0044     KDev::Shell
0045 )
0046 kdevplatform_add_plugin(kdevheaptrack
0047     SOURCES ${kdevheaptrack_SRCS}
0048 )
0049 target_link_libraries(kdevheaptrack
0050     kdevheaptrack_config
0051     KDev::Project
0052     KDev::IExecute
0053 )
0054 if(KSysGuard_FOUND)
0055     target_link_libraries(kdevheaptrack
0056         kdevdebuggercommon
0057         KSysGuard::ProcessUi
0058     )
0059 elseif(KF5SysGuard_FOUND)
0060     target_link_libraries(kdevheaptrack
0061         kdevdebuggercommon
0062         KF5::ProcessUi
0063     )
0064 endif()