OSDN Git Service
(root)
/
cueplot
/
cueplot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b78bc6f
)
M CMakeLists.txt: build testing only if BUILD_TESTING is true
author
nogu
<nogu@3964cfc2-352b-0410-b06c-9ff7d3e98643>
Thu, 5 Mar 2009 09:44:17 +0000
(09:44 +0000)
committer
nogu
<nogu@3964cfc2-352b-0410-b06c-9ff7d3e98643>
Thu, 5 Mar 2009 09:44:17 +0000
(09:44 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/cueplot/trunk@972
3964cfc2
-352b-0410-b06c-
9ff7d3e98643
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
d48b0c7
..
8f0f03e
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-4,7
+4,10
@@
cmake_minimum_required(VERSION 2.4.0)
find_package(Qt4 REQUIRED)
-enable_testing()
-
add_subdirectory(src)
-add_subdirectory(tests)
+
+if (BUILD_TESTING)
+ enable_testing()
+ add_subdirectory(tests)
+endif (BUILD_TESTING)
+