CMakeLists.txt 711 Bytes
Newer Older
Kevin Funk's avatar
Kevin Funk committed
1
2
add_definitions(-DTRANSLATION_DOMAIN=\"kdevqmakebuilder\")

3
set(qmakebuilder_SRCS
4
    qmakebuilder.cpp
5
    qmakebuilderpreferences.cpp
6
    qmakejob.cpp
Laurent Navet's avatar
Laurent Navet committed
7
    qmakebuilderdebug.cpp
8
)
Kevin Funk's avatar
Kevin Funk committed
9
ki18n_wrap_ui(qmakebuilder_SRCS qmakeconfig.ui)
10
kconfig_add_kcfg_files(qmakebuilder_SRCS qmakebuilderconfig.kcfgc)
Laurent Navet's avatar
Laurent Navet committed
11
kdevplatform_add_plugin(kdevqmakebuilder JSON kdevqmakebuilder.json SOURCES ${qmakebuilder_SRCS})
Kevin Funk's avatar
Kevin Funk committed
12
13
14
15
16
target_link_libraries(kdevqmakebuilder
    KDev::Interfaces
    KDev::OutputView
    KDev::Util
    KDev::Project
Kevin Funk's avatar
Kevin Funk committed
17
    kdevqmakecommon
18
)
19

20
21
install( FILES iqmakebuilder.h DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevelop/qmake COMPONENT Devel)
install( FILES data.kdev4 DESTINATION ${KDE_INSTALL_DATADIR}/kdevqmakebuilder )