X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fcmake%2FBBTKSetDeducedPaths.cmake;h=bf1bf560bf0d02d56a6d69faf7305e5e51dfc078;hb=0bdd420ed7219642944ee93dfde55bc9e8686925;hp=0f72f13cd2a7a1cc8e1290dfced8198c11d0d298;hpb=85bae054ff07681220211b68b63d2d270542f548;p=bbtk.git diff --git a/kernel/cmake/BBTKSetDeducedPaths.cmake b/kernel/cmake/BBTKSetDeducedPaths.cmake index 0f72f13..bf1bf56 100644 --- a/kernel/cmake/BBTKSetDeducedPaths.cmake +++ b/kernel/cmake/BBTKSetDeducedPaths.cmake @@ -1,3 +1,31 @@ + # --------------------------------------------------------------------- + # + # 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 "Setting up deduced pathes:") # Black box docs relative path SET(BBTK_BBDOC_REL_PATH ${BBTK_DOC_REL_PATH}/bbdoc) # Doxygen docs relative path @@ -34,11 +62,11 @@ SET(BBTK_DATA_INSTALL_PATH ${BBTK_DATA_REL_PATH}) # Create build directories if necessary -MKDIR(${BBTK_DOC_BUILD_PATH}) -MKDIR(${BBTK_BBDOC_BUILD_PATH}) -MKDIR(${BBTK_DOXYGEN_BUILD_PATH}) -MKDIR(${BBTK_BBS_BUILD_PATH}) -MKDIR(${BBTK_DATA_BUILD_PATH}) +CREA_MKDIR(${BBTK_DOC_BUILD_PATH}) +CREA_MKDIR(${BBTK_BBDOC_BUILD_PATH}) +CREA_MKDIR(${BBTK_DOXYGEN_BUILD_PATH}) +CREA_MKDIR(${BBTK_BBS_BUILD_PATH}) +CREA_MKDIR(${BBTK_DATA_BUILD_PATH}) #----------------------------------------------------------------------------- SET (EXECUTABLE_OUTPUT_PATH @@ -78,9 +106,17 @@ IF(BBTK_CORE_PACKAGE) SET(BBTK_BBFY_DEPENDENCY ${BBTK_BBFY}) ENDIF(EXISTS "${BBTK_BBFY}") + IF(EXISTS "${BBTK_BBPCONFIGURATOR}") + SET(BBTK_BBPCONFIGURATOR_DEPENDENCY) + ELSE(EXISTS "${BBTK_BBPCONFIGURATOR}") + SET(BBTK_BBPCONFIGURATOR_DEPENDENCY ${BBTK_BBPCONFIGURATOR}) + ENDIF(EXISTS "${BBTK_BBPCONFIGURATOR}") + + ENDIF(BBTK_CORE_PACKAGE) #----------------------------------------------------------------------------- +MESSAGE(STATUS "===============================================")