]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Generate documentation only if corresopnding option is swiched on.
authorrnv <rnv@opencascade.com>
Thu, 24 Oct 2013 12:05:10 +0000 (12:05 +0000)
committerrnv <rnv@opencascade.com>
Thu, 24 Oct 2013 12:05:10 +0000 (12:05 +0000)
src/Tools/MGCleanerPlug/CMakeLists.txt
src/Tools/Verima/CMakeLists.txt
src/Tools/YamsPlug/CMakeLists.txt

index 127e849f79cd06e81bb41e8a0892878fe814295e..d6147291d8adec351a4ea36bb0904d941ad15ecb 100644 (file)
@@ -16,8 +16,9 @@
 #
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
-
-ADD_SUBDIRECTORY(doc)
+IF(SALOME_BUILD_DOC)
+  ADD_SUBDIRECTORY(doc)
+ENDIF(SALOME_BUILD_DOC)
 
 INCLUDE(UsePyQt4)
 
index a5e39bafefa90e58c8a7364b471ebd8361c63208..269d6d9aef9bd1f4a7cac1269a77eb7ed1548697 100644 (file)
@@ -16,8 +16,9 @@
 #
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
-
-ADD_SUBDIRECTORY(Doc)
+IF(SALOME_BUILD_DOC)
+  ADD_SUBDIRECTORY(Doc)
+ENDIF(SALOME_BUILD_DOC)
 ADD_SUBDIRECTORY(CreeDocuments)
 IF(SALOME_BUILD_GUI)
   ADD_SUBDIRECTORY(Gui)
index e75a744a351911939a773f778f1e3c5223d57463..7efe46b58d04c97e5ff00332f1f72c9a70568c39 100644 (file)
@@ -17,7 +17,9 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-ADD_SUBDIRECTORY(doc)
+IF(SALOME_BUILD_DOC)
+  ADD_SUBDIRECTORY(doc)
+ENDIF(SALOME_BUILD_DOC)
 
 INCLUDE(UsePyQt4)