aboutsummaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorMike Taves <mwtoews@gmail.com>2019-02-15 22:17:24 +1300
committerMike Taves <mwtoews@gmail.com>2019-02-16 01:21:41 +1300
commit7710b81abb83657acf740d1751c0cc047e828fe2 (patch)
treed649df09b58ab15942c2c0a559dfb99f01bb01c0 /docs/source
parenta813ad65cfb819bfa295dfbacdf577b258377c93 (diff)
downloadPROJ-7710b81abb83657acf740d1751c0cc047e828fe2.tar.gz
PROJ-7710b81abb83657acf740d1751c0cc047e828fe2.zip
Improve CMake sqlite3 dependency docs
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/install.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/source/install.rst b/docs/source/install.rst
index 240f81f9..ec441c1e 100644
--- a/docs/source/install.rst
+++ b/docs/source/install.rst
@@ -110,8 +110,13 @@ Compilation and installation from source code
The classical way of installing PROJ is via the source code distribution. The
most recent version is available from the :ref:`download page<current_release>`.
+
+PROJ requires C and C++11 compilers. It also requires SQLite3 (headers,
+library and executable).
+
You will need that and at least the standard *proj-datumgrid* package for a
successful installation.
+
The following guides show how to compile and install the software using the
Autotools and CMake build systems.
@@ -187,6 +192,16 @@ On Windows, one may need to specify generator::
cmake -G "Visual Studio 15 2017" ..
+If the SQLite3 dependency is installed in a custom location, specify the
+paths to the include directory and the library::
+
+ cmake -DSQLITE3_INCLUDE_DIR=/opt/SQLite/include -DSQLITE3_LIBRARY=/opt/SQLite/lib/libsqlite3.so ..
+
+Alternatively, the custom prefix for SQLite3 can be specified::
+
+ cmake -DCMAKE_PREFIX_PATH=/opt/SQLite ..
+
+
Tests are run with::
ctest