From 9d10a018cb5d01de3f62b283eea1916c97d7fa44 Mon Sep 17 00:00:00 2001 From: dsarrut Date: Fri, 15 Oct 2010 06:15:21 +0000 Subject: [PATCH] -add dependencies for all autotools --- tools/CMakeLists.txt | 4 +++- tools/clitkImageArithmGenericFilter.cxx | 14 ++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) 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 -- 2.47.1