-
Notifications
You must be signed in to change notification settings - Fork 568
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revise AppVeyor setup for Windows (#819)
* Revise AppVeyor setup for Windows * Build GEOS version 3.8.0 using CMake/Ninja/Visual C++ * Build wheels for 8 combinations of x86/x64 and Py35/Py36/Py37/Py38 * Don't build wheels for Py27, as it's too difficult and a low priority * Remove unused scripts from previous setup * Arrange README.rst badges * Align them horizontally * Add AppVeyor build status
- Loading branch information
Showing
5 changed files
with
125 additions
and
426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
REM This script is called from appveyor.yml | ||
|
||
if exist %GEOSINSTALL% ( | ||
echo Using cached %GEOSINSTALL% | ||
) else ( | ||
echo Building %GEOSINSTALL% | ||
|
||
cd C:\projects | ||
|
||
curl -fsSO http://download.osgeo.org/geos/geos-%GEOSVERSION%.tar.bz2 | ||
7z x geos-%GEOSVERSION%.tar.bz2 | ||
7z x geos-%GEOSVERSION%.tar | ||
cd geos-%GEOSVERSION% | ||
|
||
pip install ninja | ||
cmake --version | ||
|
||
mkdir build | ||
cd build | ||
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=%GEOSINSTALL% .. | ||
cmake --build . --config Release -j 2 | ||
ctest . --config Release | ||
cmake --install . --config Release | ||
cd .. | ||
) | ||
|
Oops, something went wrong.