X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FcreaNewProject%2FNewProject%2Flib%2FCMakeLists.txt;h=18853d92237960aec034177c2212dc9dadf261de;hb=f3f98131ffd23351c3cd872a0b04aecdc97b7c92;hp=a4d9097c8299397ce4f659722ee94cfb3a3ac74f;hpb=fbe2c10bce301f4532a1eaed60df329889c300d5;p=crea.git diff --git a/appli/creaNewProject/NewProject/lib/CMakeLists.txt b/appli/creaNewProject/NewProject/lib/CMakeLists.txt index a4d9097..18853d9 100644 --- a/appli/creaNewProject/NewProject/lib/CMakeLists.txt +++ b/appli/creaNewProject/NewProject/lib/CMakeLists.txt @@ -1,55 +1,30 @@ -# Settings for macro CREA_ADVANCED_INSTALL_LIBRARY_FOR_CMAKE : - -# USER! : Set the library name (global one) - - SET(LIBRARY_NAME ___Library_name___here___) - SET(LIBRARY_NAME_BASE ${LIBRARY_NAME} ) - SET(${LIBRARY_NAME}_INSTALL_FOLDER ${LIBRARY_NAME}) - -# USER! : Give the list of your Libraries - -SET(${LIBRARY_NAME}_LIBRARIES - ___Your_library_one___here___ - ___Your_library_two___here___ - ___Your_library_tree___here___ - - ) - -# USER! : Give the list of directories holding the '.h' and '.txx' to be installed - - SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_INCLUDE_PATHS - lib/___Your_include_directory_one___here___ - lib/___Your_include_directory_two___here___ - lib/___Your_include_directory_tree___here___ - ) - -# USER! : Hands off, here! - - IF ( ${PROJECT_BINARY_DIR} STREQUAL ${EXECUTABLE_OUTPUT_PATH} ) - SET(CILFC_EXECUTABLE_OUTPUT_REL_PATH ".") - ELSE ( ${PROJECT_BINARY_DIR} STREQUAL ${EXECUTABLE_OUTPUT_PATH} ) - FILE(RELATIVE_PATH - CILFC_EXECUTABLE_OUTPUT_REL_PATH - ${PROJECT_BINARY_DIR} ${EXECUTABLE_OUTPUT_PATH}) - ENDIF ( ${PROJECT_BINARY_DIR} STREQUAL ${EXECUTABLE_OUTPUT_PATH} ) - - - SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_LIBRARY_PATHS ${CMAKE_CREA_LIB_PATH} ) - - IF(UNIX) - SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_LIBRARY_PATHS - ${CILFC_EXECUTABLE_OUTPUT_REL_PATH}) - ELSE(UNIX) - SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_LIBRARY_PATHS - ${CILFC_EXECUTABLE_OUTPUT_REL_PATH}) - ENDIF(UNIX) - SET(${LIBRARY_NAME}_INSTALL_TREE_RELATIVE_INCLUDE_PATHS include/${LIBRARY_NAME}) - - # Invoke the advanced macro - CREA_ADVANCED_INSTALL_LIBRARY_FOR_CMAKE(${LIBRARY_NAME}) - -# USER! : Up to you again, now! - -# USER! : Add a SUBDIRS command for each one of your libraries -# SUBDIRS(MyLib1) +# --------------------------------------------------------------------- +# +# 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. +# ------------------------------------------------------------------------ */ + +# USER! : Add a ADD_SUBDIRECTORY command for each one of your libraries +# ----- + +ADD_SUBDIRECTORY(mySampleLib)