[geos-commits] [SCM] GEOS branch master updated. 89a3277e7be971352eddfbc53f3050f9296af1a1

git at osgeo.org git at osgeo.org
Fri May 24 16:15:27 PDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, master has been updated
       via  89a3277e7be971352eddfbc53f3050f9296af1a1 (commit)
      from  3c627561c3f5e3fd18dd69499b32a0e31708ec71 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 89a3277e7be971352eddfbc53f3050f9296af1a1
Author: Regina Obe <lr at pcorp.us>
Date:   Fri May 24 16:15:27 2019 -0700

    Update 'README.md'
    
    Incorporate windows VS 2019 instructions from Mateusz Loskot - https://github.com/mloskot/mateusz.loskot.net/blob/master/content/post/2019/05/geos-with-cmake-and-vs2019.md

diff --git a/README.md b/README.md
index 224d3df..98bc55e 100644
--- a/README.md
+++ b/README.md
@@ -65,6 +65,47 @@ check`.
 GEOS can be built with Microsoft Visual C++ by opening the `CMakeLists.txt` in
 the project root using `File > Open > CMake`.
 
+If you prefer the command-line
+
+#### Build with CMake generator for Ninja (fast)
+
+In the Visual Studio 2019 command prompt, `x64 Native Tools Command Prompt for VS 2019` or `x64_x86 Cross Tools Command Prompt for VS 2019`:
+
+```
+cmake -S . -B _build_vs2019_ninja -G Ninja -DCMAKE_BUILD_TYPE=Release
+cmake --build _build_vs2019_ninja -j 16 --verbose
+```
+
+#### Build with CMake generator for MSBuild (default)
+
+In the non-specific Command Prompt:
+
+##### 64-bit
+
+```
+cmake -S . -B _build_vs2019x64 -G "Visual Studio 16 2019" -A x64 -DCMAKE_GENERATOR_TOOLSET=host=x64
+cmake --build _build_vs2019x64 --config Release -j 16 --verbose
+```
+
+##### 32-bit
+
+```
+cmake -S . -B _build_vs2019x32 -G "Visual Studio 16 2019" -A x32 -DCMAKE_GENERATOR_TOOLSET=host=x64
+cmake --build _build_vs2019x32 --config Release -j 16 --verbose
+```
+
+#### Test using CMake
+
+```
+cd <build directory>
+ctest --show-only
+ctest
+ctest --output-on-failure
+ctest -V
+ctest -VV
+```
+
+
 ## Client applications
 
 ### Using the C interface

-----------------------------------------------------------------------

Summary of changes:
 README.md | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list