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 127e849..d614729 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 a5e39ba..269d6d9 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 e75a744..7efe46b 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)