blob: efdf09c775b9d1842f4543fb8eb25dd45b12eb49 (
plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
--- a/CMakeLists.txt 2019-09-29 21:36:28.419106801 +0200
+++ b/CMakeLists.txt 2019-09-29 21:36:28.423106839 +0200
@@ -43,7 +43,9 @@
add_subdirectory(applications)
add_subdirectory(views)
add_subdirectory(accounts)
+if(BUILD_TESTING)
add_subdirectory(tests)
+endif()
if (${ENABLE_EXTENSION})
add_subdirectory(extensions)
endif()
--- a/framework/CMakeLists.txt 2019-09-29 21:36:28.428106886 +0200
+++ b/framework/CMakeLists.txt 2019-09-29 21:36:28.433106934 +0200
@@ -4,4 +4,6 @@
install(FILES qmldir DESTINATION ${FRAMEWORK_INSTALL_DIR})
add_subdirectory(src)
+if(BUILD_TESTING)
add_subdirectory(qml/tests)
+endif()
--- a/framework/src/CMakeLists.txt 2019-09-29 21:36:28.437106972 +0200
+++ b/framework/src/CMakeLists.txt 2019-09-29 21:36:28.450107095 +0200
@@ -86,10 +86,16 @@
set(BUILD_TESTING ON)
+if(BUILD_TESTING)
add_subdirectory(tests)
+endif()
add_subdirectory(domain/mime)
+if(BUILD_TESTING)
add_subdirectory(domain/mime/tests)
+endif()
add_subdirectory(domain/mime/mimetreeparser)
+if(BUILD_TESTING)
add_subdirectory(domain/settings/tests)
+endif()
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
--- a/framework/src/domain/mime/mimetreeparser/CMakeLists.txt 2019-09-29 21:36:28.455107143 +0200
+++ b/framework/src/domain/mime/mimetreeparser/CMakeLists.txt 2019-09-29 21:36:28.458107171 +0200
@@ -49,5 +49,9 @@
Gpgme::Gpgme
)
+if(BUILD_TESTING)
add_subdirectory(autotests)
+endif()
+if(BUILD_TESTING)
add_subdirectory(tests)
+endif()
--- a/components/CMakeLists.txt 2019-09-29 21:36:28.463107218 +0200
+++ b/components/CMakeLists.txt 2019-09-29 21:36:28.476107341 +0200
@@ -8,7 +8,9 @@
endmacro(install_qml_component)
install_qml_component(kube)
+if(BUILD_TESTING)
add_subdirectory(kube/tests)
+endif()
install_qml_component(accounts)
|