From e790d334c29abf0bf0680b6d2c9d337a2bb61d9d Mon Sep 17 00:00:00 2001 From: Ivan Dubrov Date: Fri, 25 Apr 2014 15:56:46 -0700 Subject: [PATCH] First version of compile.cmd for Windows --- native/compile.cmd | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 native/compile.cmd 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 -- 2.39.5