Salome HOME
projects
/
tools
/
libbatch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added option to enable or disable tests.
[tools/libbatch.git]
/
src
/
Python
/
CMakeLists.txt
diff --git
a/src/Python/CMakeLists.txt
b/src/Python/CMakeLists.txt
index f6e682cf6a766b728deb154a2dac39d16434e913..e49fb8c2dbb9422c69837db6c23a9486c441be59 100644
(file)
--- a/
src/Python/CMakeLists.txt
+++ b/
src/Python/CMakeLists.txt
@@
-38,4
+38,6
@@
INSTALL(FILES Batch_PyVersatile.hxx DESTINATION include/Batch)
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES libBatch_Swig.py)
-add_subdirectory(Test)
+IF (TEST_ENABLED)
+ add_subdirectory(Test)
+ENDIF (TEST_ENABLED)