Update build.sh

This commit is contained in:
Daniel Stankewitz 2021-08-30 09:30:51 +02:00 committed by GitHub
parent cd44a35b9f
commit bab5f24e73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ function build_aom {
rm -rf work
mkdir work
cd work
cmake -G "Visual Studio 15 2017" .. -T host=x64 -A x64 -DCMAKE_INSTALL_PREFIX=$BUILD
cmake -G "Visual Studio 15 2017" .. -T host=x64 -A x64 -DENABLE_{DOCS,TOOLS,TESTS,EXAMPLES}=OFF -DCMAKE_INSTALL_PREFIX=$BUILD
MSBuild.exe /maxcpucount:$NUMBER_OF_PROCESSORS /property:Configuration="$MSBUILD_CONFIG" AOM.sln
cp $MSBUILD_CONFIG/aom.lib $BUILD/lib/aom.lib
cp -r ../aom $BUILD/include/aom