forked from IBM/OpenJCEPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildNativeWin32.bat
executable file
·35 lines (29 loc) · 808 Bytes
/
buildNativeWin32.bat
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
::#############################################################################
::#
::# Copyright IBM Corp. 2023
::#
::# Licensed under the Apache License 2.0 (the "License"). You may not use
::# this file except in compliance with the License. You can obtain a copy
::# in the file LICENSE in the source distribution.
::#
::#############################################################################
@echo off
cls
@setlocal
IF NOT DEFINED JAVA_HOME (
echo "JAVA_HOME must be set"
goto :eof
)
IF NOT DEFINED GSKIT_32_HOME (
echo "GSKIT_32_HOME must be set"
goto :eof
)
IF NOT DEFINED VCVARS_32_SCRIPT (
echo "VCVARS_32_SCRIPT must be set"
goto :eof
)
@call "%VCVARS_32_SCRIPT%"
cd src/main/native
@call nmake -nologo -f jgskit.win32.mak clean
@call nmake -nologo -f jgskit.win32.mak
@endlocal