forked from IBM/OpenJCEPlus
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuildNativeWin64.bat
More file actions
executable file
·39 lines (31 loc) · 1.02 KB
/
buildNativeWin64.bat
File metadata and controls
executable file
·39 lines (31 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
::#############################################################################
::#
::# Copyright IBM Corp. 2023, 2026
::#
::# This code is free software; you can redistribute it and/or modify it
::# under the terms provided by IBM in the LICENSE file that accompanied
::# this code, including the "Classpath" Exception described therein.
::#############################################################################
@echo off
cls
@setlocal
IF NOT DEFINED JAVA_HOME (
echo "JAVA_HOME must be set"
goto :eof
)
IF NOT DEFINED GSKIT_HOME (
echo "GSKIT_HOME must be set"
goto :eof
)
:: This check for the presence of the VCVARS_64_SCRIPT was commented out since the github
:: action being used calls the equivilant of the vcvars64.bat file prior to
:: this script being executed.
:: IF NOT DEFINED VCVARS_64_SCRIPT (
:: echo "VCVARS_64_SCRIPT must be set"
:: goto :eof
::)
:: @call "%VCVARS_64_SCRIPT%"
cd src/main/native/ock
@call nmake -nologo -f jgskit.win64.cygwin.mak clean
@call nmake -nologo -f jgskit.win64.cygwin.mak
@endlocal