[CMake] Disabling exceptions and rtti on VS
Óscar Fuentes
ofv at wanadoo.es
Fri Dec 31 09:27:49 EST 2010
If /EHs- /EHs-c- are added with add_definitions, the output of the build
contains warnings:
cl : Command line warning D9025 : overriding '/EHs' with '/EHs-'
cl : Command line warning D9025 : overriding '/EHc' with '/EHc-'
This is because cmake automatically adds /EHsc to the command line
options.
How can I remove /EHsc from the command line options before adding
/EHs-c- ?
More information about the CMake
mailing list