mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-11-14 13:13:41 +08:00
Initial windows workflow
This commit is contained in:
15
compile_windows.bat
Executable file
15
compile_windows.bat
Executable file
@@ -0,0 +1,15 @@
|
||||
@echo off
|
||||
|
||||
if ("%2"=="")(
|
||||
echo "Usage: compile_windows.bat <architecture> <buildType>"
|
||||
echo ""
|
||||
echo "architecture: the target architecture to build for. Architectures are the docker architectures (e.g. 386 or amd64)."
|
||||
echo "buildType: either Release or Debug"
|
||||
exit 1
|
||||
)
|
||||
|
||||
#Execute build with windows Dockerfile
|
||||
docker build -t jcefbuild --file DockerfileWindows .
|
||||
|
||||
#Execute run with windows Dockerfile
|
||||
docker run -v jcef:c:/jcef -v out:c:/out -e TARGETARCH=%1 -e BUILD_TYPE=%2 jcefbuild
|
||||
Reference in New Issue
Block a user