Robert Dailey wrote:
This seems like something within the scope of the problem domain CMake
was designed to address. It can be done differently for each compiler,
which means CMake should create an abstraction for this. Perhaps a
function like disable_rtti( target_name ), or some sort of target
This seems like something within the scope of the problem domain CMake was
designed to address. It can be done differently for each compiler, which
means CMake should create an abstraction for this. Perhaps a function like
disable_rtti( target_name ), or some sort of target property.
On Fri, Apr 3
2009/4/2 Robert Dailey :
> 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++: -fn
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...
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.k