Skip to content
/ lwgeom Public

Standalone liblwgeom CMake build with experimental support for MSVC compiler

License

Notifications You must be signed in to change notification settings

praxik/lwgeom

Repository files navigation

lwgeom

Standalone liblwgeom CMake build with preliminary support for MSVC compiler

Build

The CMake build is a work in progress and support for additional dependencies will be added if time permits.

Linux

mkdir <build-dir>
cd <build-dir>
cmake .. -DCMAKE_INSTALL_PREFIX=<install-dir> -DCMAKE_INSTALL_PREFIX=<install-dir> \
-DBUILD_SHARED_LIBS=OFF -DGEOS_DIR=<geos-install-dir> -DGEOS_USE_STATIC_LIBS=ON \
-DPROJ_DIR=<proj-install-dir> -DPROJ_USE_STATIC_LIBS=ON \
-DJSON_C_DIR=<jsonc-install-dir> -DJSON_C_USE_STATIC_LIBS=ON
make
make install

Windows

mkdir <build-dir>
cd <build-dir>
cmake .. -G "Visual Studio 15 2017 Win64" -DCMAKE_INSTALL_PREFIX=<install-dir> \
-DBUILD_SHARED_LIBS=OFF -DGEOS_DIR=<geos-install-dir> -DGEOS_USE_STATIC_LIBS=OFF \
-DPROJ_DIR=<proj-install-dir> -DPROJ_USE_STATIC_LIBS=ON \
-DJSON_C_DIR=<jsonc-install-dir> -DJSON_C_USE_STATIC_LIBS=ON
open lwgeom.sln or use msbuild or use devenv.com

About

Standalone liblwgeom CMake build with experimental support for MSVC compiler

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages