[CMake] problem: using options other than -D with VS.NET
Brad King
brad.king at kitware.com
Fri Oct 15 13:43:09 EDT 2004
Erik van der Wal wrote:
> Seems like ADD_DEFINITIONS only allows -D options?
That is correct. The command is called ADD_DEFINITIONS, not ADD_FLAGS.
Implementing it to take the "-D" part explicitly was a bad choice in
hindsight because it allows the command to be abused to add other flags.
This use of the command is not officially supported, though.
-Brad
More information about the CMake
mailing list