[CMake] config dependent defines

Adam J Richardson fatman at crackmonkey.us
Mon Oct 18 04:52:15 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Your users will hate you for that, because they will not be able to
> override the compile-flags without modifying the CMakeLists.txt file.
> 
> You can set the COMPILE_DEFINITIONS_DEBUG property on individual
> targets using SET_TARGET_PROPERTIES() or on directories with
> SET_DIRECTORY_PROPERTIES.

I've been meaning to ask, Michael. Exactly how would a user expect to
override the defaults without modifying the CMakeLists.txt file? Isn't
that the easiest way to override the defaults?

Is it because of the FORCE option they will hate him?

Regards,
Adam J Richardson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAky8Cr8ACgkQSUH6dLOqvqnYUgCfbZB1KtewDVQ/ZMdPeeYDHD6V
KFoAn3M3nETZeJlnW8yLAYt4xq6Lq7sO
=ByUi
-----END PGP SIGNATURE-----


More information about the CMake mailing list