On 3/29/2011 8:25 AM, David Doria wrote:

(with and without quotes around ${my_definitions} in the
set_target_properties line)

The message command seems to be fine:
my definitions: UNIX;USE_ITK;USE_FLOAT_PIXELS;PIXEL_DIMENSION=1

but the #if defined(UNIX) still fails in the code!


Did you do a make VERBOSE=1 to see what was being passed to the compiler?

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to