[Insight-users] how to add new class into compilation

pinpress sb_ji at yahoo.com
Wed May 5 11:25:39 EDT 2010


This problem has been solved. It looks that I just need to put the ".h" and
".txx" files into the following:

ADD_EXECUTABLE(   )

Then following normal cmake, and make, it seems to compile fine.



pinpress wrote:
> 
> Hi,
> 
> I just edited an existing ITK class based on
> CorrelationCoefficientHistogramImageToImageMetric, and was hoping to test
> it out with my code. Can someone tell me how I can include the new class
> into the compilation? The ITK package has already been compiled, so do I
> really need to recompile ITK by including this new class, and then compile
> my test code following the usual way? Or is it possible to compile without
> re-compiling ITK?
> 
> I am sure that there is a solution to this, but just couldn't find after
> searching. Thanks very much.
> 

-- 
View this message in context: http://old.nabble.com/how-to-add-new-class-into-compilation-tp28452757p28462519.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list