ned Productions – Cmake

by . Last updated . This page has been accessed 4 times since the 2nd April 2019.

Wednesday 4th January 2017: 8.48pm. Link shared: Nailed this cunning piece of cmake hackery today, so I thought I would share it. It solves the problem of cmake annoyingly not supporting out of the box per-target setting of C++ exceptions on/off, C++ RTTI on/off and whether to use the static or dynamic C++ runtime. It also, very usefully, stops the warning MSVC makes about overriding the C++ exceptions enable that cmake enforces in the core compile flags on MSVC, this is amazingly useful when you turn on error on warnings and your C++ has exceptions disabled.

Contact the webmaster: Niall Douglas @ webmaster2<at symbol> (Last updated: 2017-01-04 20:48:53 +0000 UTC)