Portable way to disable RTTI and exceptions
Variables like CMAKE_VISIBILITY_INLINES_HIDDEN and CMAKE_POSITION_INDEPENDENT_CODE exist to add specific compiler flags in a portable way. Shouldn't exceptions and rtti be similarly treated ? adding GR- and fno-exceptions/fno-rtti flags isn't too difficult, but certainly not convenient.