Changeset View
Changeset View
Standalone View
Standalone View
projectmanagers/custommake/CMakeLists.txt
1 | project(custommakemanager) | 1 | project(custommakemanager) | ||
---|---|---|---|---|---|
2 | add_definitions(-DTRANSLATION_DOMAIN=\"kdevcustommake\") | 2 | add_definitions(-DTRANSLATION_DOMAIN=\"kdevcustommake\") | ||
3 | include_directories( | 3 | include_directories( | ||
4 | ${makebuilder_SOURCE_DIR} | 4 | ${makebuilder_SOURCE_DIR} | ||
5 | ) | 5 | ) | ||
6 | 6 | | |||
7 | 7 | | |||
8 | ########### next target ############### | 8 | ########### next target ############### | ||
9 | 9 | | |||
10 | set(kdevcustommakemanager_PART_SRCS | 10 | set(kdevcustommakemanager_PART_SRCS | ||
11 | custommakemanager.cpp | 11 | custommakemanager.cpp | ||
12 | custommakemodelitems.cpp | 12 | custommakemodelitems.cpp | ||
13 | ) | 13 | ) | ||
14 | 14 | | |||
15 | qt5_add_resources(kdevcustommakemanager_PART_SRCS kdevcustommakemanager.qrc) | ||||
15 | kdevplatform_add_plugin(kdevcustommakemanager JSON kdevcustommakemanager.json SOURCES ${kdevcustommakemanager_PART_SRCS}) | 16 | kdevplatform_add_plugin(kdevcustommakemanager JSON kdevcustommakemanager.json SOURCES ${kdevcustommakemanager_PART_SRCS}) | ||
16 | target_link_libraries(kdevcustommakemanager | 17 | target_link_libraries(kdevcustommakemanager | ||
17 | KF5::KIOWidgets KDev::Interfaces KDev::Project KDev::Util KDev::Language | 18 | KF5::KIOWidgets KDev::Interfaces KDev::Project KDev::Util KDev::Language | ||
18 | kdevmakefileresolver | 19 | kdevmakefileresolver | ||
19 | ) | 20 | ) | ||
20 | 21 | | |||
21 | | ||||
22 | ########### install files ############### | | |||
23 | | ||||
24 | install( FILES kdevcustommakemanager.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/kdevcustommakemanager ) | | |||
25 | | ||||
26 | add_subdirectory(makefileresolver) | 22 | add_subdirectory(makefileresolver) |