File: CMakeLists.txt

package info (click to toggle)
kdevelop 4%3A5.6.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 57,892 kB
  • sloc: cpp: 278,773; javascript: 3,558; python: 3,385; sh: 1,317; ansic: 689; xml: 273; php: 95; makefile: 40; lisp: 13; sed: 12
file content (15 lines) | stat: -rw-r--r-- 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
add_definitions(-DTRANSLATION_DOMAIN=\"kdevcustomscript\")
set(kdevcustomscript_PART_SRCS
    customscript_plugin.cpp
)

declare_qt_logging_category(kdevcustomscript_PART_SRCS
    TYPE PLUGIN
    IDENTIFIER CUSTOMSCRIPT
    CATEGORY_BASENAME "customscript"
)
kdevplatform_add_plugin(kdevcustomscript JSON kdevcustomscript.json SOURCES ${kdevcustomscript_PART_SRCS})
target_link_libraries(kdevcustomscript
    KDev::Interfaces
    KDev::Language
    KDev::Util)