From 540c0f980c2a7dc53d284dd6633ad276f8ac853b Mon Sep 17 00:00:00 2001 From: Camille GOUTTEBROZE Date: Tue, 30 Sep 2014 13:29:07 +0200 Subject: [PATCH] Generation of default profile documentation --- bin/app-template/CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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) -- 2.39.2