diff options
| author | Mike Taves <mwtoews@gmail.com> | 2020-01-23 14:24:11 +1300 |
|---|---|---|
| committer | Mike Taves <mwtoews@gmail.com> | 2020-01-24 20:26:53 +1300 |
| commit | 43dc8c575275d60ac0455e3a9110d813d5348ec4 (patch) | |
| tree | ba6313a1c8c92d70a8c1a8107438b98b6d1cda6a /docs | |
| parent | db31b6dfa9c8fe37d5706d95ce81012b8db3c3b9 (diff) | |
| download | PROJ-43dc8c575275d60ac0455e3a9110d813d5348ec4.tar.gz PROJ-43dc8c575275d60ac0455e3a9110d813d5348ec4.zip | |
CMake: replace PROJ_TESTS with CTest's BUILD_TESTING option
* CTest automatically creates a BUILD_TESTING option (default is ON)
* Also allow PROJ_TESTS to be used, but show deprecation message;
and add note to remove this option by PROJ 8.0
* Only build geodtest when tests are enabled
* Add documentation to configure a build using -DBUILD_TESTING=OFF
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/source/install.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/source/install.rst b/docs/source/install.rst index 4e09a4b3..8a062b10 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -234,6 +234,10 @@ Tests are run with:: The test suite requires that the proj-datumgrid package is installed in :envvar:`PROJ_LIB`. +If tests are not required, PROJ can be built without the test suite using the following configuration:: + + cmake -DBUILD_TESTING=OFF .. + Building on Windows with vcpkg and Visual Studio 2017 or 2019 -------------------------------------------------------------------------------- |
