Update build_tc.sh

This commit is contained in:
Daniel Stankewitz 2019-07-20 07:47:00 +02:00 committed by GitHub
parent 89f7f16202
commit 1d7f228d2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ elif [ "$STEP" == "zimg" ]; then
./autogen.sh ./autogen.sh
./configure --prefix=$BUILD ./configure --prefix=$BUILD
cd _msvc/zimg cd _msvc/zimg
MSBuild.exe /maxcpucount:$CPU_CORES /property:Configuration="$MSBUILD_CONFIG" /property:WindowsTargetPlatformVersion=10.0.17134.0 /property:PlatformToolset=v141 /property:Platform=x64 /property:WholeProgramOptimization=false zimg.vcxproj MSBuild.exe /maxcpucount:$CPU_CORES /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/api/zimg.h $BUILD/include/zimg.h cp src/zimg/api/zimg.h $BUILD/include/zimg.h