1 # ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9 # This software is governed by the CeCILL-B license under French law and
10 # abiding by the rules of distribution of free software. You can use,
11 # modify and/ or redistribute the software under the terms of the CeCILL-B
12 # license as circulated by CEA, CNRS and INRIA at the following URL
13 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 # or in the file LICENSE.txt.
16 # As a counterpart to the access to the source code and rights to copy,
17 # modify and redistribute granted by the license, users are provided only
18 # with a limited warranty and the software's author, the holder of the
19 # economic rights, and the successive licensors have only limited
22 # The fact that you are presently reading this means that you have had
23 # knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
29 SET(BBTK_PACKAGE_LIB_PATH ${CMAKE_CREA_LIB_PATH} )
32 SET (EXECUTABLE_OUTPUT_REL_PATH "")
33 SET (LIBRARY_OUTPUT_REL_PATH "")
34 # FILE(TO_NATIVE_PATH ${PROJECT_BINARY_DIR}/$(OutDir) BBTK_BIN_PATH)
35 # SET(BBTK_BIN_PATH ${BBTK_DIR}/bin})
36 # FIND_FILE(PATHS ${BBTK_BIN_PATH})
38 FIND_PATH(BBTK_BIN_PATH bbi.exe ${BBTK_DIR}/bin ${BBTK_DIR}/Release ${BBTK_DIR}/RelWithDebInfo ${BBTK_DIR}/Debug NO_DEFAULT_PATH)
41 MESSAGE(FATAL_ERROR "bbi not found in ${BBTK_DIR}/bin ; ${BBTK_DIR}/Release ; ${BBTK_DIR}/Debug ; ${BBTK_DIR}/RelWithDebInfo : is bbtk properly built ?")
42 ENDIF(NOT BBTK_BIN_PATH)
44 ## SET (ADDITIONAL_DLL_PATH "C:/Program Files/CreaTools/crea_ThirdParty_dlls-0.2.0/bin" CACHE PATH "Additional paths in which to look for dlls")
46 SET(BBTK_BBI "${BBTK_BIN_PATH}/bbi")
47 SET(BBTK_BBS2CPP "${BBTK_BIN_PATH}/bbs2cpp")
48 SET(BBTK_BBC "${BBTK_BIN_PATH}/bbc")
49 SET(BBTK_BBFY "${BBTK_BIN_PATH}/bbfy")
50 SET(BBTK_BBPCONFIGURATOR "${BBTK_BIN_PATH}/bbpConfigurator")
51 SET(BBTK_BBDOC "${BBTK_BIN_PATH}/bbdoc")
53 # SET (EXECUTABLE_OUTPUT_REL_PATH bin)
54 # SET (LIBRARY_OUTPUT_REL_PATH bin)
55 SET(BBTK_BIN_PATH ${BBTK_INSTALL_PREFIX}/bin)
56 SET(BBTK_BBI "${BBTK_BIN_PATH}/bbi")
57 SET(BBTK_BBS2CPP "${BBTK_BIN_PATH}/bbs2cpp")
58 SET(BBTK_BBC "${BBTK_BIN_PATH}/bbc")
59 SET(BBTK_BBFY "${BBTK_BIN_PATH}/bbfy")
60 SET(BBTK_BBPCONFIGURATOR "${BBTK_BIN_PATH}/bbpConfigurator")
61 SET(BBTK_BBDOC "${BBTK_BIN_PATH}/bbdoc")
65 INCLUDE(${BBTK_CMAKE_DIR}/BBTKSetDeducedPaths.cmake)