Skip to content

Commit

Permalink
install.rst: document CMAKE_UNITY_BUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Nov 23, 2023
1 parent d7caaab commit 3edd0f2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,17 @@ All cached entries can be viewed using ``cmake -LAH`` from a build directory.
:envvar:`OSGEO4W_ROOT` (if set), otherwise is ``c:/OSGeo4W``.
Default for Unix-like is ``/usr/local/``.

.. option:: CMAKE_UNITY_BUILD=OFF

.. versionadded:: 9.4

Default is OFF. This can be set to ON to build PROJ using the
https://cmake.org/cmake/help/latest/variable/CMAKE_UNITY_BUILD.html feature.
This helps speeding PROJ build times. This feature is still considered
experimental for now, and could hide subtle bugs (we are not aware of
any at writing time though). We don't recommend it for mission critical
builds.

.. option:: ENABLE_IPO=OFF

Build library using the compiler's `interprocedural optimization
Expand Down

0 comments on commit 3edd0f2

Please sign in to comment.