Try again

This commit is contained in:
FriwiDev 2021-10-25 14:20:50 +02:00
parent a4037ec6b9
commit 12f76fc925
2 changed files with 8 additions and 8 deletions

View File

@ -1,10 +1,10 @@
@echo off @echo off
if ("%2"=="") ( ^ if ("%2"=="") ( ^
echo "Usage: compile_windows.bat <architecture> <buildType>" && ^ echo Usage: compile_windows.bat <architecture> <buildType> && ^
echo "" && ^ echo && ^
echo "architecture: the target architecture to build for. Architectures are the docker architectures (e.g. 386 or amd64)." && ^ echo architecture: the target architecture to build for. Architectures are the docker architectures (e.g. 386 or amd64). && ^
echo "buildType: either Release or Debug" && ^ echo buildType: either Release or Debug && ^
exit 1 ^ exit 1 ^
) )

View File

@ -1,12 +1,12 @@
@echo off @echo off
if "%TARGETARCH%"=="386" (echo "Building 32-bit version") ^ if "%TARGETARCH%"=="386" (echo Building 32-bit version) ^
else (echo "Building 64-bit version") else (echo Building 64-bit version)
#Check residency of workdir #Check residency of workdir
cd C: cd C:
if exists jcef/README.md (echo "Found existing files to build") ^ if exists jcef\README.md (echo Found existing files to build) ^
else (echo "Did not find files to build - cloning..." && rmdir /S /Q jcef && git clone https://bitbucket.org/chromiumembedded/java-cef jcef) else (echo Did not find files to build - cloning... && rmdir /S /Q jcef && git clone https://bitbucket.org/chromiumembedded/java-cef jcef)
cd jcef cd jcef
#Prepare build dir #Prepare build dir