-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added zlib and enabled compression for windows wheels. Enabled no mac…
…/no encryption options for windows wheels.
- Loading branch information
Showing
5 changed files
with
40 additions
and
1 deletion.
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
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,21 @@ | ||
mkdir zlib_build && cd zlib_build | ||
|
||
IF "%MSVC%" == "Visual Studio 9" ( | ||
ECHO "Building without platform set" | ||
cmake ..\zlib-1.2.11 -G "NMake Makefiles" ^ | ||
-DCMAKE_INSTALL_PREFIX="C:\zlib" ^ | ||
-DCMAKE_BUILD_TYPE=Release ^ | ||
-DBUILD_SHARED_LIBS=OFF | ||
) ELSE ( | ||
ECHO "Building with platform %MSVC%" | ||
cmake ..\zlib-1.2.11 ^ | ||
-G"%MSVC%" ^ | ||
-DCMAKE_INSTALL_PREFIX="C:\zlib" ^ | ||
-DCMAKE_BUILD_TYPE=Release ^ | ||
-DBUILD_SHARED_LIBS=OFF | ||
) | ||
|
||
cmake --build . --config Release --target install | ||
cp C:/zlib/lib/zlibstatic.lib %PYTHON%/libs/ | ||
cd .. | ||
ls %PYTHON%/libs/ |
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