📝 add documentation

This commit is contained in:
Niels Lohmann 2021-01-27 14:34:10 +01:00
parent 5b0c804630
commit 9f6b78ee5a
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -1638,4 +1638,6 @@ In case you have downloaded the library rather than checked out the code via Git
Some tests change the installed files and hence make the whole process not reproducible. Please execute `ctest -LE not_reproducible` to skip these tests. See [issue #2324](https://github.com/nlohmann/json/issues/2324) for more information.
Note you need to call `cmake -LE "not_reproducible|git_required"` to exclude both labels. See [issue #2596](https://github.com/nlohmann/json/issues/2596) for more information.
As Intel compilers use unsafe floating point optimization by default, the unit tests may fail. Use flag [`/fp:precise`](https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/compiler-reference/compiler-options/compiler-option-details/floating-point-options/fp-model-fp.html) then.