[Insight-developers] KWStyle hook problems

Bill Lorensen bill.lorensen at gmail.com
Mon Oct 3 12:51:35 EDT 2011


I have a patch in gerrit:
http://review.source.kitware.com/#change,3039
that adds the line:
<Header>@ITK_SOURCE_DIR@/Utilities/KWStyle/ITKHeader.h,false,true</Header>
to Utilities/KWStyle/ITK.kws.xml.in.
This file is properly configured when I run cmake. After that I can run
ctest -R KWStyle
and get expected results.

But, when I try to do a commit, I get these errors:
Processing Modules/Numerics/HighDimensionalOptimizers/src/itkGradientDescentObjectOptimizer.cxx
Cannot open header file: @ITK_SOURCE_DIR@/Utilities/KWStyle/ITKHeader.h

Seems like the hook is not looking at the configured file.

Bill


More information about the Insight-developers mailing list