mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-21 23:06:37 +08:00
Try to fix VS path again
This commit is contained in:
parent
353ba8548d
commit
ab93f2ad58
@ -8,8 +8,8 @@ if ("%2"=="") ( ^
|
|||||||
exit 1 ^
|
exit 1 ^
|
||||||
)
|
)
|
||||||
|
|
||||||
#Execute build with windows Dockerfile
|
:: Execute build with windows Dockerfile
|
||||||
docker build -t jcefbuild --file DockerfileWindows .
|
docker build -t jcefbuild --file DockerfileWindows .
|
||||||
|
|
||||||
#Execute run with windows Dockerfile
|
:: Execute run with windows Dockerfile
|
||||||
docker run -v jcef:c:/jcef -v out:c:/out -e TARGETARCH=%1 -e BUILD_TYPE=%2 jcefbuild
|
docker run -v jcef:c:/jcef -v out:c:/out -e TARGETARCH=%1 -e BUILD_TYPE=%2 jcefbuild
|
||||||
|
@ -15,8 +15,9 @@ cd jcef
|
|||||||
mkdir jcef_build && cd jcef_build
|
mkdir jcef_build && cd jcef_build
|
||||||
|
|
||||||
:: Load vcvars
|
:: Load vcvars
|
||||||
if "%TARGETARCH%"=="386" ("C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars32.bat") ^
|
dir "C:\Program Files (x86)\Microsoft Visual Studio\2019\"
|
||||||
else ("C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat")
|
if "%TARGETARCH%"=="386" ("C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars32.bat") ^
|
||||||
|
else ("C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\BuildTools\Build\vcvars64.bat")
|
||||||
|
|
||||||
:: Perform build
|
:: Perform build
|
||||||
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ..
|
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ..
|
||||||
|
Loading…
Reference in New Issue
Block a user