summaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-23 18:39:44 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-23 18:39:44 -0600
commit85dc437da27417cce05b5a9f97505b43cfdf4dee (patch)
tree3b6984e9f42a085fae821d4024326987a48fdc98 /accounts
parent25b4f6e2d7ed2d783b8ee1eefbe62df713ca0341 (diff)
downloadkube-85dc437da27417cce05b5a9f97505b43cfdf4dee.tar.gz
kube-85dc437da27417cce05b5a9f97505b43cfdf4dee.zip
The grand cmake cleanup
We had a ton of duplication in our cmake code because we had no common toplevel settings. This is now cleaned up so we can sanely change settings and so we know what we have set.
Diffstat (limited to 'accounts')
-rw-r--r--accounts/gmail/CMakeLists.txt19
-rw-r--r--accounts/imap/CMakeLists.txt19
-rw-r--r--accounts/imap/tests/CMakeLists.txt1
-rw-r--r--accounts/kolabnow/CMakeLists.txt19
-rw-r--r--accounts/maildir/CMakeLists.txt19
-rw-r--r--accounts/maildir/tests/CMakeLists.txt1
6 files changed, 0 insertions, 78 deletions
diff --git a/accounts/gmail/CMakeLists.txt b/accounts/gmail/CMakeLists.txt
index ae98a20a..7a71264f 100644
--- a/accounts/gmail/CMakeLists.txt
+++ b/accounts/gmail/CMakeLists.txt
@@ -1,24 +1,5 @@
1project(kube-accounts-gmail) 1project(kube-accounts-gmail)
2 2
3cmake_minimum_required(VERSION 2.8.12)
4
5cmake_policy(SET CMP0063 NEW)
6
7include(CPack)
8include(FeatureSummary)
9find_package(PkgConfig)
10
11################# set KDE specific information #################
12
13find_package(ECM 0.0.8 REQUIRED NO_MODULE)
14
15# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
16set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
17
18include(KDEInstallDirs)
19include(KDECMakeSettings)
20include(KDECompilerSettings)
21
22find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui) 3find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui)
23 4
24find_package(Sink CONFIG REQUIRED) 5find_package(Sink CONFIG REQUIRED)
diff --git a/accounts/imap/CMakeLists.txt b/accounts/imap/CMakeLists.txt
index 259c8e69..5ec32bbc 100644
--- a/accounts/imap/CMakeLists.txt
+++ b/accounts/imap/CMakeLists.txt
@@ -1,24 +1,5 @@
1project(kube-accounts-imap) 1project(kube-accounts-imap)
2 2
3cmake_minimum_required(VERSION 2.8.12)
4
5cmake_policy(SET CMP0063 NEW)
6
7include(CPack)
8include(FeatureSummary)
9find_package(PkgConfig)
10
11################# set KDE specific information #################
12
13find_package(ECM 0.0.8 REQUIRED NO_MODULE)
14
15# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
16set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
17
18include(KDEInstallDirs)
19include(KDECMakeSettings)
20include(KDECompilerSettings)
21
22find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Concurrent Quick Test Gui) 3find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Concurrent Quick Test Gui)
23 4
24find_package(Sink CONFIG REQUIRED) 5find_package(Sink CONFIG REQUIRED)
diff --git a/accounts/imap/tests/CMakeLists.txt b/accounts/imap/tests/CMakeLists.txt
index 82d6059c..bf4ffe73 100644
--- a/accounts/imap/tests/CMakeLists.txt
+++ b/accounts/imap/tests/CMakeLists.txt
@@ -1,5 +1,4 @@
1include_directories(../) 1include_directories(../)
2cmake_policy(SET CMP0063 NEW)
3add_executable(imapsettingstest settingstest.cpp) 2add_executable(imapsettingstest settingstest.cpp)
4add_test(imapsettingstest settingstest) 3add_test(imapsettingstest settingstest)
5target_link_libraries(imapsettingstest 4target_link_libraries(imapsettingstest
diff --git a/accounts/kolabnow/CMakeLists.txt b/accounts/kolabnow/CMakeLists.txt
index 8a178bf9..8b84d9da 100644
--- a/accounts/kolabnow/CMakeLists.txt
+++ b/accounts/kolabnow/CMakeLists.txt
@@ -1,24 +1,5 @@
1project(kube-accounts-kolabnow) 1project(kube-accounts-kolabnow)
2 2
3cmake_minimum_required(VERSION 2.8.12)
4
5cmake_policy(SET CMP0063 NEW)
6
7include(CPack)
8include(FeatureSummary)
9find_package(PkgConfig)
10
11################# set KDE specific information #################
12
13find_package(ECM 0.0.8 REQUIRED NO_MODULE)
14
15# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
16set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
17
18include(KDEInstallDirs)
19include(KDECMakeSettings)
20include(KDECompilerSettings)
21
22find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui) 3find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Quick Test Gui)
23 4
24find_package(Sink CONFIG REQUIRED) 5find_package(Sink CONFIG REQUIRED)
diff --git a/accounts/maildir/CMakeLists.txt b/accounts/maildir/CMakeLists.txt
index b321f0ad..1b017328 100644
--- a/accounts/maildir/CMakeLists.txt
+++ b/accounts/maildir/CMakeLists.txt
@@ -1,24 +1,5 @@
1project(kube-accounts-maildir) 1project(kube-accounts-maildir)
2 2
3cmake_minimum_required(VERSION 2.8.12)
4
5cmake_policy(SET CMP0063 NEW)
6
7include(CPack)
8include(FeatureSummary)
9find_package(PkgConfig)
10
11################# set KDE specific information #################
12
13find_package(ECM 0.0.8 REQUIRED NO_MODULE)
14
15# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
16set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
17
18include(KDEInstallDirs)
19include(KDECMakeSettings)
20include(KDECompilerSettings)
21
22find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Concurrent Quick Test Gui) 3find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Concurrent Quick Test Gui)
23 4
24find_package(Sink CONFIG REQUIRED) 5find_package(Sink CONFIG REQUIRED)
diff --git a/accounts/maildir/tests/CMakeLists.txt b/accounts/maildir/tests/CMakeLists.txt
index 2452e526..3083ccc0 100644
--- a/accounts/maildir/tests/CMakeLists.txt
+++ b/accounts/maildir/tests/CMakeLists.txt
@@ -1,5 +1,4 @@
1include_directories(../) 1include_directories(../)
2cmake_policy(SET CMP0063 NEW)
3add_executable(settingstest settingstest.cpp) 2add_executable(settingstest settingstest.cpp)
4add_test(settingstest settingstest) 3add_test(settingstest settingstest)
5target_link_libraries(settingstest 4target_link_libraries(settingstest