[ITK-dev] Function-style preprocessor definitions

Brad King brad.king at kitware.com
Fri Jan 30 16:43:16 EST 2015


On 1/30/2015 4:14 PM, Matt McCormick wrote:
> I have been able to reproduce it.  It seems to be related to this change:
> 
>   http://review.source.kitware.com/#/c/18944/1
> 
> Without the above change, errors occur on Windows, when
> ${ITKVtkGlue_VTK_DEFINITIONS} has content.  On Unix, when it does not
> have content, it appears to cause issues with the above change.

The problem is that the variable should not be evaluated during
generation.  A literal reference to the variable should be generated.
Here is a fix:

 http://review.source.kitware.com/19065

-Brad


More information about the Insight-developers mailing list