[CMake] Remove -D${target_name}_EXPORTS from shared library compilation flags

Alexey Petruchik alexey.petruchik at gmail.com
Sat Feb 7 16:34:28 EST 2015


I know it's a bit weird but I need it. I'm currently working on moving
make-based project to cmake. I want to get absolutely the same flags as
current makefiles have, so I need to remove autogenerated
-D${target_name}_EXPORTS.

set_property(TARGET a PROPERTY DEFINE_SYMBOL "")

is not working for me. Can anyone help me with this issue?
Regards, Alexey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150208/929e2d1d/attachment.html>


More information about the CMake mailing list