Update build.sh

This commit is contained in:
Daniel Stankewitz 2022-03-18 11:43:13 +01:00 committed by GitHub
parent 24158d40c9
commit 996221e57d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ else
fi fi
function build { function build {
cd $SRC/$1 cd repos/$1
#if [ -f autogen.sh ]; then #if [ -f autogen.sh ]; then
# ./autogen.sh # ./autogen.sh
#fi #fi
@ -144,7 +144,7 @@ function build_zimg {
MSBuild.exe /maxcpucount:$NUMBER_OF_PROCESSORS /property:Configuration="$MSBUILD_CONFIG" /property:ConfigurationType=StaticLibrary /property:WindowsTargetPlatformVersion=10.0.17134.0 /property:PlatformToolset=v141 /property:Platform=x64 /property:WholeProgramOptimization=false zimg.vcxproj MSBuild.exe /maxcpucount:$NUMBER_OF_PROCESSORS /property:Configuration="$MSBUILD_CONFIG" /property:ConfigurationType=StaticLibrary /property:WindowsTargetPlatformVersion=10.0.17134.0 /property:PlatformToolset=v141 /property:Platform=x64 /property:WholeProgramOptimization=false zimg.vcxproj
cp x64/$MSBUILD_CONFIG/z.lib $BUILD/lib/zimg.lib cp x64/$MSBUILD_CONFIG/z.lib $BUILD/lib/zimg.lib
cd ../.. cd ../..
cp $SRC/zimg/src/zimg/api/zimg.h $BUILD/include/zimg.h cp repos/zimg/src/zimg/api/zimg.h $BUILD/include/zimg.h
cp zimg.pc $BUILD/lib/pkgconfig/zimg.pc cp zimg.pc $BUILD/lib/pkgconfig/zimg.pc
add_comp libzimg add_comp libzimg
cd ../.. cd ../..