X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fdoc%2FbbtkWebSite%2FCMakeLists.txt;h=ec0c4b5293cd118c5b5f10d402b5d2ad5feaa9e0;hb=789ecd0eb75c3657333605b45faf47c5c37a29c6;hp=c14da9fe2a10f553480ca9c4ae3b2578a45fb185;hpb=60666a9908c25344c96805d6b160cc723917fd3f;p=bbtk.git diff --git a/kernel/doc/bbtkWebSite/CMakeLists.txt b/kernel/doc/bbtkWebSite/CMakeLists.txt index c14da9f..ec0c4b5 100644 --- a/kernel/doc/bbtkWebSite/CMakeLists.txt +++ b/kernel/doc/bbtkWebSite/CMakeLists.txt @@ -1,3 +1,33 @@ + # --------------------------------------------------------------------- + # + # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image + # pour la SantÈ) + # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton + # Previous Authors : Laurent Guigues, Jean-Pierre Roux + # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil + # + # This software is governed by the CeCILL-B license under French law and + # abiding by the rules of distribution of free software. You can use, + # modify and/ or redistribute the software under the terms of the CeCILL-B + # license as circulated by CEA, CNRS and INRIA at the following URL + # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html + # or in the file LICENSE.txt. + # + # As a counterpart to the access to the source code and rights to copy, + # modify and redistribute granted by the license, users are provided only + # with a limited warranty and the software's author, the holder of the + # economic rights, and the successive licensors have only limited + # liability. + # + # The fact that you are presently reading this means that you have had + # knowledge of the CeCILL-B license and that you accept its terms. + # ------------------------------------------------------------------------ */ + + +MESSAGE(STATUS "") +MESSAGE(STATUS "=======================================") +MESSAGE(STATUS "Configuring bbtk html doc") + # Configure & install images BBTK_DOC_INSTALL_IMAGES(bbtkWebSite) @@ -18,21 +48,28 @@ FOREACH(page ${HTML_PAGES}) ENDFOREACH(page) +#=================================================================== +# Regenerate package doc / boxes lists +# Must be made manually as: +# 1) Is useless for installers (it is to be run after install) +# 2) Can be done manually for a build tree (e.g. in bbStudio) +IF(FALSE) + SET(INDEX_OUTPUT index-alpha.html) IF (WIN32) SET(USE_DOT TRUE) MAKE_DLL_PATH() - - ADD_CUSTOM_COMMAND( - OUTPUT ${INDEX_OUTPUT} - COMMAND - set ${DLL_PATH} cd ${BBTK_BIN_PATH} && ./bbRegeneratePackageDoc -a -q && ./bbRegenerateBoxesLists -q - - DEPENDS ${BBTK_PACKAGES_DEPS} bbRegeneratePackageDoc bbRegenerateBoxesLists - ) - + + ADD_CUSTOM_COMMAND( + OUTPUT ${INDEX_OUTPUT} + COMMAND + set Path=${DLL_PATH} && cd ${BBTK_BIN_PATH} && bbRegeneratePackageDoc -a -q && bbRegenerateBoxesLists -q + + DEPENDS ${BBTK_PACKAGES_DEPS} + ) + ELSE (WIN32) # MESSAGE(STATUS "PACKAGE_DEPS=${BBTK_PACKAGES_DEPS}") @@ -56,4 +93,6 @@ ADD_CUSTOM_TARGET( DEPENDS ${INDEX_OUTPUT} ) +ENDIF(FALSE) +MESSAGE(STATUS "=======================================")