X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fappli%2FbbPostInstallPackage%2FCMakeLists.txt;h=75bf2be98d6c57e476d855044a6aa14a115ab34d;hb=1b84c2e38d8374e519af4d793dbc54c427d5490a;hp=9a54dfbc4420db8731d9bc7b7c86c99f5bac91ff;hpb=1cb8d15699ee9ba117205b4e50e7d7037b737640;p=bbtk.git diff --git a/kernel/appli/bbPostInstallPackage/CMakeLists.txt b/kernel/appli/bbPostInstallPackage/CMakeLists.txt index 9a54dfb..75bf2be 100644 --- a/kernel/appli/bbPostInstallPackage/CMakeLists.txt +++ b/kernel/appli/bbPostInstallPackage/CMakeLists.txt @@ -1,3 +1,29 @@ + # --------------------------------------------------------------------- + # + # 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. + # ------------------------------------------------------------------------ */ + + # Installs bbPostInstallPackage.bat/.sh @@ -7,29 +33,34 @@ IF(WIN32) # Build tree CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/bbPostInstallPackage.bat.in - ${BBTK_BINARY_DIR}/Debug/bbPostInstallPackage.bat + ${bbtk_BINARY_DIR}/RelWithDebInfo/bbPostInstallPackage.bat + @ONLY IMMEDIATE + ) + CONFIGURE_FILE( + ${CMAKE_CURRENT_SOURCE_DIR}/bbPostInstallPackage.bat.in + ${bbtk_BINARY_DIR}/Debug/bbPostInstallPackage.bat @ONLY IMMEDIATE ) CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/bbPostInstallPackage.bat.in - ${BBTK_BINARY_DIR}/Release/bbPostInstallPackage.bat + ${bbtk_BINARY_DIR}/Release/bbPostInstallPackage.bat @ONLY IMMEDIATE ) # install tree INSTALL( - PROGRAMS ${BBTK_BINARY_DIR}/Debug/bbPostInstallPackage.bat + PROGRAMS ${bbtk_BINARY_DIR}/Debug/bbPostInstallPackage.bat DESTINATION bin ) ELSE(WIN32) # Build tree CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/bbPostInstallPackage.sh.in - ${BBTK_BINARY_DIR}/bin/bbPostInstallPackage + ${bbtk_BINARY_DIR}/bin/bbPostInstallPackage @ONLY IMMEDIATE ) # Install tree INSTALL( - FILES ${BBTK_BINARY_DIR}/bin/bbPostInstallPackage + FILES ${bbtk_BINARY_DIR}/bin/bbPostInstallPackage DESTINATION bin PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE )