Merge pull request #3466 from radarhere/winbuild

Removed unused function
This commit is contained in:
Hugo 2018-11-17 11:42:27 +02:00 committed by GitHub
commit 50d49d619b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,24 +121,6 @@ rem build openjpeg
setlocal setlocal
@echo on @echo on
cd /D %%OPENJPEG%%%(inc_dir)s cd /D %%OPENJPEG%%%(inc_dir)s
%%CMAKE%% -DBUILD_THIRDPARTY:BOOL=OFF -G "NMake Makefiles" .
nmake -f Makefile clean
nmake -f Makefile
copy /Y /B bin\* %%INCLIB%%
mkdir %%INCLIB%%\openjpeg-%(op_ver)s
copy /Y /B src\lib\openjp2\*.h %%INCLIB%%\openjpeg-%(op_ver)s
endlocal
""" % atts
def msbuild_openjpeg(compiler):
atts = {'op_ver': '2.1'}
atts.update(compiler)
return r"""
rem build openjpeg
setlocal
@echo on
cd /D %%OPENJPEG%%%(inc_dir)s
%%CMAKE%% -DBUILD_THIRDPARTY:BOOL=OFF -G "NMake Makefiles" . %%CMAKE%% -DBUILD_THIRDPARTY:BOOL=OFF -G "NMake Makefiles" .
nmake -f Makefile clean nmake -f Makefile clean