Re: [CMake] Disabling RTTI in a portable way

2009-04-03 Thread Bill Hoffman
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

Re: [CMake] Disabling RTTI in a portable way

2009-04-03 Thread Robert Dailey
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

Re: [CMake] Disabling RTTI in a portable way

2009-04-03 Thread Eric Noulard
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

[CMake] Disabling RTTI in a portable way

2009-04-02 Thread 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... ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.k