Generate documentation only if corresopnding option is swiched on.

This commit is contained in:
rnv 2013-10-24 12:05:10 +00:00
parent 5c7170a3e6
commit 01488106b7
3 changed files with 9 additions and 5 deletions

View File

@ -16,8 +16,9 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
IF(SALOME_BUILD_DOC)
ADD_SUBDIRECTORY(doc) ADD_SUBDIRECTORY(doc)
ENDIF(SALOME_BUILD_DOC)
INCLUDE(UsePyQt4) INCLUDE(UsePyQt4)

View File

@ -16,8 +16,9 @@
# #
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
IF(SALOME_BUILD_DOC)
ADD_SUBDIRECTORY(Doc) ADD_SUBDIRECTORY(Doc)
ENDIF(SALOME_BUILD_DOC)
ADD_SUBDIRECTORY(CreeDocuments) ADD_SUBDIRECTORY(CreeDocuments)
IF(SALOME_BUILD_GUI) IF(SALOME_BUILD_GUI)
ADD_SUBDIRECTORY(Gui) ADD_SUBDIRECTORY(Gui)

View File

@ -17,7 +17,9 @@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
# #
IF(SALOME_BUILD_DOC)
ADD_SUBDIRECTORY(doc) ADD_SUBDIRECTORY(doc)
ENDIF(SALOME_BUILD_DOC)
INCLUDE(UsePyQt4) INCLUDE(UsePyQt4)