From: dsarrut Date: Fri, 15 Oct 2010 06:15:21 +0000 (+0000) Subject: -add dependencies for all autotools X-Git-Tag: v1.2.0~343 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=inline;h=9d10a018cb5d01de3f62b283eea1916c97d7fa44;p=clitk.git -add dependencies for all autotools --- diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 9f81d9d..10c88e2 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -15,6 +15,8 @@ ADD_LIBRARY(clitkToolsGgoLib ${GGO_C_FILES}) ADD_LIBRARY(clitkImageConvertLib clitkImageConvertGenericFilter.cxx) ADD_LIBRARY(clitkImageResampleLib clitkImageResampleGenericFilter.cxx) ADD_LIBRARY(clitkBinarizeImageLib clitkBinarizeImageGenericFilter.cxx) +ADD_LIBRARY(clitkImageArithmImageLib clitkImageArithmGenericFilter.cxx) + TARGET_LINK_LIBRARIES(clitkBinarizeImageLib clitkToolsGgoLib) IF (CLITK_BUILD_TOOLS) @@ -89,7 +91,7 @@ IF (CLITK_BUILD_TOOLS) TARGET_LINK_LIBRARIES(clitkGuerreroVentilation clitkCommon ITKIO) ADD_EXECUTABLE(clitkImageArithm clitkImageArithm.cxx ${clitkImageArithm_GGO_C}) - TARGET_LINK_LIBRARIES(clitkImageArithm clitkCommon ITKIO ) + TARGET_LINK_LIBRARIES(clitkImageArithm clitkImageArithmImageLib clitkCommon ITKIO ) WRAP_GGO(clitkUnsharpMask_GGO_C clitkUnsharpMask.ggo) ADD_EXECUTABLE(clitkUnsharpMask clitkUnsharpMask.cxx ${clitkUnsharpMask_GGO_C}) diff --git a/tools/clitkImageArithmGenericFilter.cxx b/tools/clitkImageArithmGenericFilter.cxx index 104b5d3..627f601 100755 --- a/tools/clitkImageArithmGenericFilter.cxx +++ b/tools/clitkImageArithmGenericFilter.cxx @@ -17,16 +17,14 @@ ======================================================================-====*/ #ifndef CLITKIMAGEARITHMGENERICFILTER_CXX #define CLITKIMAGEARITHMGENERICFILTER_CXX -/** - ------------------------------------------------------------------- - * @file clitkImageArithmGenericFilter.cxx - * @author David Sarrut - * @date 23 Feb 2008 - - * @brief - -------------------------------------------------------------------*/ #include "clitkImageArithmGenericFilter.h" +#include "clitkImageArithm_ggo.h" +namespace clitk { + // Specialisation + template<> + class ImageArithmGenericFilter; +} #endif //define CLITKIMAGEARITHMGENERICFILTER_CXX