[Insight-developers] Re: WrapITK : ImageCompare ...

Karthik Krishnan Karthik.Krishnan at kitware.com
Fri Sep 8 16:38:35 EDT 2006


Gaëtan Lehmann wrote:

>Le Fri, 08 Sep 2006 22:10:49 +0200, Karthik Krishnan  
><Karthik.Krishnan at kitware.com <http://www.itk.org/mailman/listinfo/insight-developers>> a écrit:
>
>>/ Gaetan Lehmann wrote://
>/
>My multi-configuration build with Xcode has just completed. I'm surprised  
>it is stopping your build :-/
>  
>
Its fine.. (you updated Code/IO/CMakeLists.txt :) )

>>/ time, you can do that from C++ code :
>/>/
>/>/ int testdriver() {
>/>/ .....
>/>/  std::string  =  
>/>/ itksys::SystemTools::ConvertToOutputPath(ImageCompareExecutableIn);
>/>/ #if defined(_WIN32) && defined(CMAKE_INTDIR)
>/>/  itksys::SystemTools::ReplaceString(ImageCompareExecutable, "$(OutDir)",  
>/>/ CMAKE_INTDIR);
>/>/ #endif
>/>/ .....
>/>/ }
>///>/
>/>/ Any way you can drive that test from a Cxx code ?
>/
>I'm replacing it with a cxx code - see itkTestDriver.cxx. It's already  
>done for python and will come soon for java and tcl.
>  
>
Perfect..

Thanks
-karthik


More information about the Insight-developers mailing list