From 59bdaed66477258dbfa046add0a29e5cfb9e7edb Mon Sep 17 00:00:00 2001 From: Mike Taves Date: Tue, 28 May 2024 22:30:08 +1200 Subject: [PATCH] DOC: specify test requirements; add nlohmann/json to build reqs --- docs/source/install.rst | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/source/install.rst b/docs/source/install.rst index 056523dbf0..adf0ef65f7 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -139,15 +139,27 @@ The following guides show how to compile and install the software using CMake. PROJ 9.0 and later releases only support builds using CMake. -Build requirements +Requirements -------------------------------------------------------------------------------- +Build requirements +++++++++++++++++++ + - C99 compiler - C++11 compiler - CMake >= 3.16 -- SQLite3 >= 3.11: headers and library for target architecture, and sqlite3 executable for build architecture. +- SQLite3 >= 3.11: headers and library for target architecture, and sqlite3 executable for build architecture - libtiff >= 4.0 (optional but recommended) - curl >= 7.29.0 (optional but recommended) +- JSON for Modern C++ (nlohmann/json) >= 3.7.0; if not found as an external dependency then vendored version 3.9.1 from PROJ source tree is used + +Test requirements ++++++++++++++++++ + +This is only required if testing is built (see :option:`BUILD_TESTING`, default ON) + +- GoogleTest (GTest) >= 1.8.1; if not found then version 1.12.1 is fetched from GitHub and installed internally + Build steps --------------------------------------------------------------------------------