]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Generation of default profile documentation
authorCamille GOUTTEBROZE <camille.gouttebroze@cea.fr>
Tue, 30 Sep 2014 11:29:07 +0000 (13:29 +0200)
committerCamille GOUTTEBROZE <camille.gouttebroze@cea.fr>
Tue, 30 Sep 2014 11:29:07 +0000 (13:29 +0200)
bin/app-template/CMakeLists.txt

index fdb1fd8f073713cc27ca7ba852032c318d135ead..fa4dad7b48f21698bd70a9f478081a1617a5facd 100644 (file)
@@ -45,6 +45,21 @@ ELSE(EXISTS ${KERNEL_ROOT_DIR})
   MESSAGE(FATAL_ERROR "We absolutely need a Salome KERNEL, please define KERNEL_ROOT_DIR")
 ENDIF(EXISTS ${KERNEL_ROOT_DIR})
 
+# User options
+# ============
+#OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON)
+OPTION(SALOME_BUILD_DOC "Generate SALOME <Name_of_Application> documentation" ON)
+
+#IF(SALOME_BUILD_TESTS)
+#  ENABLE_TESTING()
+#ENDIF()
+
+# KERNEL optionals:
+IF(SALOME_BUILD_DOC)
+  FIND_PACKAGE(SalomePython)
+  FIND_PACKAGE(SalomeSphinx)
+  SALOME_LOG_OPTIONAL_PACKAGE(Sphinx SALOME_BUILD_DOC)
+ENDIF()
 
 # Directories
 # (default values taken from KERNEL)