mirror of
https://github.com/jcefmaven/jcefbuild.git
synced 2025-09-20 22:36:37 +08:00
16 lines
477 B
Batchfile
16 lines
477 B
Batchfile
:: Perform build
|
|
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ..
|
|
ninja
|
|
|
|
:: Compile java classes
|
|
cd ../tools
|
|
if "%TARGETARCH%"=="386" (compile.bat win32) else (compile.bat win64)
|
|
|
|
:: Create distribution
|
|
if "%TARGETARCH%"=="386" (make_distrib.bat win32) else (make_distrib.bat win64)
|
|
|
|
:: Zip results to C:\out
|
|
if "%TARGETARCH%"=="386" (cd ../binary_distrib/win32) else (cd ../binary_distrib/win64)
|
|
del /F C:\out\binary_distrib.tar.gz
|
|
tar -czvf C:\out\binary_distrib.tar.gz *
|