Changeset View
Changeset View
Standalone View
Standalone View
svn/CMakeLists.txt
1 | project(fileviewsvnplugin) | 1 | project(fileviewsvnplugin) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | add_definitions(-DTRANSLATION_DOMAIN=\"fileviewsvnplugin\") | 3 | add_definitions(-DTRANSLATION_DOMAIN=\"fileviewsvnplugin\") | ||
4 | 4 | | |||
5 | set(fileviewsvnplugin_SRCS | 5 | set(fileviewsvnplugin_SRCS | ||
6 | fileviewsvnplugin.cpp | 6 | fileviewsvnplugin.cpp | ||
7 | svncommands.cpp | ||||
8 | svncommitdialog.cpp | ||||
7 | ) | 9 | ) | ||
8 | 10 | | |||
meven: Do you really need a set for HDRS ?
Usually in KDE projects we only have a comprising cpp files… | |||||
9 | kconfig_add_kcfg_files(fileviewsvnplugin_SRCS | 11 | kconfig_add_kcfg_files(fileviewsvnplugin_SRCS | ||
10 | fileviewsvnpluginsettings.kcfgc | 12 | fileviewsvnpluginsettings.kcfgc | ||
11 | ) | 13 | ) | ||
12 | 14 | | |||
13 | add_library(fileviewsvnplugin MODULE ${fileviewsvnplugin_SRCS}) | 15 | add_library(fileviewsvnplugin MODULE ${fileviewsvnplugin_SRCS}) | ||
14 | target_link_libraries(fileviewsvnplugin | 16 | target_link_libraries(fileviewsvnplugin | ||
15 | Qt5::Core | 17 | Qt5::Core | ||
16 | Qt5::Widgets | 18 | Qt5::Widgets | ||
Show All 10 Lines |
Do you really need a set for HDRS ?
Usually in KDE projects we only have a comprising cpp files, they should include the headers anyway.