[CMake] Building the same library with different defines
Patrick Franz
patrick at xia.com
Wed Oct 4 15:55:04 EDT 2006
Brad King wrote:
> You need to use the more modern per-target options. Look at
> SET_TARGET_PROPERTIES. There is a per-target COMPILE_FLAGS option in
> which you can add the -D option.
Thank you. I looked at SET_TARGET_PROPERTIES originally and missed the
line hidden in there about COMPILE_FLAGS.
Regards,
Patrick
--
++++++++++++++++++++++++++++++++
Patrick J. Franz
Lead Software Engineer
XIA LLC
patrick at xia.com
W (510) 401-5760 x22
More information about the CMake
mailing list