[CMake] set_target_properties not setting COMPILE_DEFINITIONS?

Bill Hoffman bill.hoffman at kitware.com
Tue Mar 29 09:16:48 EDT 2011


On 3/29/2011 8:59 AM, David Doria wrote:
>     Did you do a make VERBOSE=1 to see what was being passed to the
>     compiler?
>
>
> Yes, none of the definitions are being passed:
>
> http://pastebin.com/X0t0L4Jv
> <http://pastebin.com/X0t0L4Jv>
> David
Can you create a standalone example of this to make it easier to debug?

add_executable(foo foo.cxx)
...

Thanks.



-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


More information about the CMake mailing list