aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--native/compile.cmd6
1 files changed, 6 insertions, 0 deletions
diff --git a/native/compile.cmd b/native/compile.cmd
new file mode 100644
index 00000000..a6c8b41c
--- /dev/null
+++ b/native/compile.cmd
@@ -0,0 +1,6 @@
+set WINDOWS_SDK=c:\Program Files\Microsoft SDKs\Windows\v7.1
+call "%WINDOWS_SDK%\bin\setenv.cmd" /%ARCH%
+
+call %VC%\vcvarsall.bat
+
+%VC%\bin\cl /I%JAVA_HOME%\include /I%JAVA_HOME%\include\win32 /I%VC%\include /I%VC%\lib /I%MSDK%\Lib libHelloWorld.c /FelibHelloWorld.dll /LD