CMakeLists.txt 442 Bytes
Newer Older
Kevin Funk's avatar
Kevin Funk committed
1
add_definitions(-DTRANSLATION_DOMAIN=\"kdevcustomscript\")
2 3 4 5
set(kdevcustomscript_PART_SRCS
    customscript_plugin.cpp
)

6 7
declare_qt_logging_category(kdevcustomscript_PART_SRCS
    TYPE PLUGIN
8
    IDENTIFIER CUSTOMSCRIPT
9
    CATEGORY_BASENAME "customscript"
10
)
11
kdevplatform_add_plugin(kdevcustomscript JSON kdevcustomscript.json SOURCES ${kdevcustomscript_PART_SRCS})
12
target_link_libraries(kdevcustomscript
13 14
    KDev::Interfaces
    KDev::Util)