This PR refactors the CMakeLists.txt for the project and exposes some options to better control the build. This is particularly useful for when the the library is needed without the CLI. The changes proposed here allow the library to be built independently and without the need for GDAL.
Also fixes what may be a bug with the BUILD_DOC option, as it was available, but wasn't used.
The the updates in the Compiling section of the readme in the change set for a brief description of the options and a usage example.
This PR refactors the CMakeLists.txt for the project and exposes some options to better control the build. This is particularly useful for when the the library is needed without the CLI. The changes proposed here allow the library to be built independently and without the need for GDAL.
Also fixes what may be a bug with the
BUILD_DOC
option, as it was available, but wasn't used.The the updates in the
Compiling
section of the readme in the change set for a brief description of the options and a usage example.