forked from madler/pigz
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from neurolabusc/windows
Windows
- Loading branch information
Showing
678 changed files
with
43 additions
and
147,831 deletions.
There are no files selected for viewing
Empty file.
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,16 @@ | ||
set(CHROMIUM_BRANCH developChromium) # Chromium zlib branch | ||
|
||
ExternalProject_Add(zlib | ||
GIT_REPOSITORY "${git_protocol}://github.com/rogiedodgie/zlib" | ||
GIT_TAG "${CHROMIUM_BRANCH}" | ||
SOURCE_DIR chromium-zlib | ||
BINARY_DIR chromium-zlib-build | ||
CMAKE_ARGS | ||
-Wno-dev | ||
-DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE} | ||
-DCMAKE_INSTALL_PREFIX:PATH=${DEP_INSTALL_DIR} | ||
-DBUILD_SHARED_LIBS:STRING=OFF | ||
) | ||
|
||
set(CMAKE_FIND_LIBRARY_SUFFIXES .a) | ||
set(ZLIB_ROOT ${DEP_INSTALL_DIR}) |
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 |
---|---|---|
@@ -1,14 +1,19 @@ | ||
REM zlib | ||
git clone https://github.com/rordenlab/zlib.git | ||
cd zlib | ||
nmake -f win32\Makefile.msc | ||
cd ..\thread | ||
cd .. | ||
REM pthreads | ||
git clone https://github.com/indigo-astronomy/pthreads4w | ||
cd pthreads4w | ||
nmake clean VC-static | ||
cd .. | ||
rm *.obj | ||
|
||
|
||
cl -c ../pigz.c /utf-8 /Idirent /Ithread /Izlib -DNOZOPFLI | ||
cl -c ../yarn.c /utf-8 /Idirent /Ithread /Izlib | ||
cl -c ../try.c /utf-8 /Idirent /Ithread /Izlib | ||
cl /Fepigz pigz.obj yarn.obj try.obj /utf-8 /Idirent /Ithread /Izlib /link shell32.lib zlib/zlib.lib thread/libpthreadVC3.lib /NODEFAULTLIB:MSVCRT | ||
cl -c ../pigz.c /utf-8 /Idirent /Ipthreads4w /Izlib -DNOZOPFLI | ||
cl -c ../yarn.c /utf-8 /Idirent /Ipthreads4w /Izlib | ||
cl -c ../try.c /utf-8 /Idirent /Ipthreads4w /Izlib | ||
cl /Fepigz pigz.obj yarn.obj try.obj /utf-8 /Idirent /Ipthreads4w /Izlib /link shell32.lib zlib/zlib.lib pthreads4w/libpthreadVC3.lib /NODEFAULTLIB:MSVCRT | ||
rm *.obj | ||
REM pigz -f -k Описание.pdf 测试.obj fx.pdf | ||
REM pigz -d -f -k Описание.pdf.gz 测试.obj.gz |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.