mirror of
https://github.com/tristanpenman/valijson.git
synced 2024-12-12 10:13:51 +01:00
a30ef97465
This patch adds support for a new Cmake option, VALIJSON_USE_EXCEPTIONS. If specified and set to `0`, Valijson will disable all exception throwing, add the `-fno-exceptions` compiler flag, and print to std::err and abort where exceptions would have been thrown. NOTE: to set the value of a CMake option, the easiest way is to modify the appropriate source line in the <build folder>/CMakeCache.txt file. Bug: #106 |
||
---|---|---|
.. | ||
optional.hpp |