From: Camille GOUTTEBROZE Date: Tue, 30 Sep 2014 11:29:07 +0000 (+0200) Subject: Generation of default profile documentation X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=540c0f980c2a7dc53d284dd6633ad276f8ac853b;p=modules%2Fkernel.git Generation of default profile documentation --- diff --git a/bin/app-template/CMakeLists.txt b/bin/app-template/CMakeLists.txt index fdb1fd8f0..fa4dad7b4 100644 --- a/bin/app-template/CMakeLists.txt +++ b/bin/app-template/CMakeLists.txt @@ -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 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)