[CMake] Disabling RTTI in a portable way
Eric Noulard
eric.noulard at gmail.com
Fri Apr 3 03:08:50 EDT 2009
2009/4/2 Robert Dailey <rcdailey at gmail.com>:
> Is there a portable way of disabling Runtime Type Information (RTTI) through
> CMake? I hope I don't have to strangle CMake too much to get this basic
> functionality...
Disabling rtti is a compiler dependent option:
GCC: -fno-rtti
Visual Studio/VCC: /GR-
Intel C++: -fno-rtti
etc...
I do not currently know if CMake did abtract this away?
--
Erk
More information about the CMake
mailing list