On 4/25/2012 4:20 PM, Bradley Lowekamp wrote:
Please be VERY careful where you put such information. The
itkVersion.h file is included in itkMacro.h which is included
in just about every other itk header. If you change branches we
do not want to have to rebuild all of ITK, and have our ccaches
miss all the time.
Consider keeping the information only available at run time by
encapsulating it in a cxx file, or a separate header filer,
that is not included by each bit of ITK.
I did this recently in VTK:
http://vtk.org/gitweb?p=VTK.git;a=commitdiff;h=ebf6777d
and actually removed the version from the top-level header
altogether. The equivalent in ITK would be to remove the
inclusion of itkVersion.h from itkMacro.h (among other
changes).
-Brad K
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers