From: rnv Date: Thu, 24 Oct 2013 12:05:10 +0000 (+0000) Subject: Generate documentation only if corresopnding option is swiched on. X-Git-Tag: V7_3_0a1~103 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=01488106b789f4877450fe580bd92bba9845246a;p=modules%2Fsmesh.git Generate documentation only if corresopnding option is swiched on. --- diff --git a/src/Tools/MGCleanerPlug/CMakeLists.txt b/src/Tools/MGCleanerPlug/CMakeLists.txt index 127e849f7..d6147291d 100644 --- a/src/Tools/MGCleanerPlug/CMakeLists.txt +++ b/src/Tools/MGCleanerPlug/CMakeLists.txt @@ -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) diff --git a/src/Tools/Verima/CMakeLists.txt b/src/Tools/Verima/CMakeLists.txt index a5e39bafe..269d6d9ae 100644 --- a/src/Tools/Verima/CMakeLists.txt +++ b/src/Tools/Verima/CMakeLists.txt @@ -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) diff --git a/src/Tools/YamsPlug/CMakeLists.txt b/src/Tools/YamsPlug/CMakeLists.txt index e75a744a3..7efe46b58 100644 --- a/src/Tools/YamsPlug/CMakeLists.txt +++ b/src/Tools/YamsPlug/CMakeLists.txt @@ -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)