1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
|
add_definitions(-DTRANSLATION_DOMAIN=\"kdevqmakemanager\")
ecm_qt_declare_logging_category(qmakecommon_LOG_SRCS
HEADER debug.h
IDENTIFIER KDEV_QMAKE
CATEGORY_NAME "kdevelop.plugins.qmake"
)
add_subdirectory(parser)
if(BUILD_TESTING)
add_subdirectory(tests)
endif()
set(qmakecommon_SRCS
qmakebuilddirchooser.cpp
qmakebuilddirchooserdialog.cpp
qmakecache.cpp
qmakeconfig.cpp
qmakefile.cpp
qmakefilevisitor.cpp
qmakeincludefile.cpp
qmakemkspecs.cpp
qmakeprojectfile.cpp
qmakeutils.cpp
variablereferenceparser.cpp
${qmakecommon_LOG_SRCS}
)
ki18n_wrap_ui(qmakecommon_SRCS qmakebuilddirchooser.ui)
add_library(kdevqmakecommon STATIC ${qmakecommon_SRCS})
target_link_libraries(kdevqmakecommon
KDev::Interfaces KDev::Project KDev::Util
kdevqmakeparser)
set(kdevqmakemanager_PART_SRCS
qmakemanager.cpp
qmakemodelitems.cpp
qmakejob.cpp
)
kdevplatform_add_plugin(kdevqmakemanager JSON kdevqmakemanager.json SOURCES ${kdevqmakemanager_PART_SRCS})
target_link_libraries(kdevqmakemanager
KDev::Interfaces
KDev::Project
KDev::Util
KDev::OutputView
KDev::Serialization
KDev::QMakeBuilder
kdevqmakecommon
kdevqmakeparser
)
|