[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra/kexi-frameworks7-staniek] /: add if(BUILD_TESTING) for tests
From: Jaroslaw Staniek <staniek () kde ! org>
Date: 2015-06-30 20:24:33
Message-ID: E1ZA253-0006Ps-Gz () scm ! kde ! org
[Download RAW message or body]
Git commit ea6e138d8cebc701a2391f7f1d31969e693405fc by Jaroslaw Staniek.
Committed on 30/06/2015 at 20:16.
Pushed by staniek into branch 'kexi-frameworks7-staniek'.
add if(BUILD_TESTING) for tests
M +2 -0 kexi/CMakeLists.txt
M +3 -1 kexi/kexiutils/CMakeLists.txt
M +3 -1 libs/main/CMakeLists.txt
http://commits.kde.org/calligra/ea6e138d8cebc701a2391f7f1d31969e693405fc
diff --git a/kexi/CMakeLists.txt b/kexi/CMakeLists.txt
index d17801e..9b546e8 100644
--- a/kexi/CMakeLists.txt
+++ b/kexi/CMakeLists.txt
@@ -90,7 +90,9 @@ add_subdirectory( widget )
add_subdirectory( data )
add_subdirectory( pics )
add_subdirectory( plugins )
+if (BUILD_TESTING)
#TODO KEXI3 add_subdirectory( tests )
+endif()
if(KEXI_MOBILE)
diff --git a/kexi/kexiutils/CMakeLists.txt b/kexi/kexiutils/CMakeLists.txt
index fdedd2a..6572a0d 100644
--- a/kexi/kexiutils/CMakeLists.txt
+++ b/kexi/kexiutils/CMakeLists.txt
@@ -79,4 +79,6 @@ if(FALSE) # TODO: install when we move to independent place
DESTINATION ${INCLUDE_INSTALL_DIR}/kexiutils COMPONENT Devel)
endif()
-add_subdirectory(tests)
+if(BUILD_TESTING)
+ add_subdirectory(tests)
+endif()
diff --git a/libs/main/CMakeLists.txt b/libs/main/CMakeLists.txt
index b7dbc1f..56dd64b 100644
--- a/libs/main/CMakeLists.txt
+++ b/libs/main/CMakeLists.txt
@@ -1,4 +1,6 @@
-add_subdirectory( tests )
+if (BUILD_TESTING)
+ add_subdirectory( tests )
+endif ()
kde_enable_exceptions()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic