X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Fgimmick%2FCMakeLists.txt;h=e2619809f48a794af49f8b15b576443cbdf83407;hb=c7482ec7d04a5e5987841932a6856ebd471cebdb;hp=7f9f7add37397244c1c7b8a71b4e99e4394d4fea;hpb=f08880c40f6304be640c7f8702bbbe96f8d50b40;p=creaImageIO.git diff --git a/appli/gimmick/CMakeLists.txt b/appli/gimmick/CMakeLists.txt index 7f9f7ad..e261980 100644 --- a/appli/gimmick/CMakeLists.txt +++ b/appli/gimmick/CMakeLists.txt @@ -1,31 +1,30 @@ -IF(GGO) - #========================================================= - # Find ggo (gengetopt) files (http://www.gnu.org/software/gengetopt/) - FILE(GLOB ALL_GGO_FILES *.ggo) - MESSAGE(${ALL_GGO_FILES}) - - FOREACH(GGO_FILE ${ALL_GGO_FILES}) - #MESSAGE(input=${GGO_FILE}) - STRING(REGEX REPLACE "(.*).ggo" - "\\1" GGO_BASENAME - "${GGO_FILE}") - MESSAGE( base= ${GGO_BASENAME}) - SET(GGO_H ${GGO_BASENAME}_ggo.h) - MESSAGE(${GGO_H}) - SET(GGO_C ${GGO_BASENAME}_ggo.c) - MESSAGE(${GGO_C}) - SET(GGO_OUTPUT ${GGO_H} ${GGO_C}) - ADD_CUSTOM_COMMAND(OUTPUT ${GGO_OUTPUT} - COMMAND gengetopt - ARGS < ${GGO_FILE} --file-name=${GGO_BASENAME}_ggo -u --conf-parser - DEPENDS ${GGO_FILE} - ) - ENDFOREACH(GGO_FILE) -#========================================================= -ENDIF(GGO) +# --------------------------------------------------------------------- +# +# 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. +# ------------------------------------------------------------------------ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) -SET(SOURCES main gimmick_ggo.c) +SET(SOURCES main) IF(WIN32) ADD_EXECUTABLE(gimmick ${SOURCES}) @@ -34,6 +33,6 @@ ELSE(WIN32) ADD_EXECUTABLE(gimmick ${SOURCES}) ENDIF(WIN32) -TARGET_LINK_LIBRARIES( gimmick creaImageIO2) +TARGET_LINK_LIBRARIES( gimmick creaImageIO ) INSTALL_TARGETS(/bin/ gimmick )