diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-01-15 15:15:04 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-01-15 22:42:38 +0100 |
| commit | 6733048be431f5e89bd956d89c3e3283deac291b (patch) | |
| tree | e9adcb1da746f742f0023c0b83ed884e037acfa0 /README.md | |
| parent | d76e6202d27c730b4dcbf16b8c1575c11b703485 (diff) | |
| download | PROJ-6733048be431f5e89bd956d89c3e3283deac291b.tar.gz PROJ-6733048be431f5e89bd956d89c3e3283deac291b.zip | |
Doc: add in install.rst tutorials to build on Windows
Fixes #1776
Content based on https://github.com/OSGeo/PROJ/wiki/Building-with-VS-and-vcpkg
which should be retired to avoid duplication of information
README.md is also modified to point to install.rst
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 78 |
1 files changed, 6 insertions, 72 deletions
@@ -33,79 +33,13 @@ The following command line utilities are included in the PROJ package: > More information on the utilities can be found on the [PROJ website](https://proj.org/apps). ## Installation -### Build dependencies -PROJ requires C and C++11 compilers. -It also requires SQLite3 (headers, library and executable). The minimum -version of SQLite3 required is 3.11 +Consult the [Installation](https://proj.org/install.html) page of the official +documentation. +For builds on the master branch, [install.rst](https://github.com/OSGeo/PROJ/blob/master/docs/source/install.rst) +might be more up-to-date. -### Building with CMake - - cd proj - mkdir build - cd build - cmake .. - cmake --build . - -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 .. - -Tests are run with - - ctest - -The test suite requires that the proj-datumgrid package is installed -in `PROJ_LIB`. - -### Building on Unix/Linux - -FSF's configuration procedure is used to ease installation of the -PROJ system. - -The default destination path prefix for installed files is `/usr/local`. -Results from the installation script will be placed into subdirectories -`bin`, `include`, `lib`, `man/man1` and `man/man3`. -If this default path prefix is proper, then execute: - - ./configure - -See the note below if you are building PROJ directly from the git repository. - -If another path prefix is required, then execute: - - ./configure --prefix=/my/path - -In either case, the directory of the prefix path must exist and be -writable by the installer. -After executing configure, execute: - - make - make install - -The install target will create, if necessary, all required sub-directories. - -Tests are run with - - make check - -The test suite requires that the proj-datumgrid package is installed -in `PROJ_LIB`. - -#### Building from the git repository - -If you are building from the git repository you have to first run - - ./autogen.sh - -which will generate a configure script that can be used as described above. - -### Distribution files and format +## Distribution files and format Sources are distributed in one or more files. The principle elements of the system are stored in a compressed tar file named `proj-x.y.z.tar.gz` where @@ -135,6 +69,6 @@ where PROJ will find them after installation. The default location of be changed to a different directory. On Windows you have to define `PROJ_LIB` yourself. -### Citing PROJ in publications +## Citing PROJ in publications See [CITATION](CITATION) |
