]> source.dussan.org Git - dcevm.git/commitdiff
First version of compile.cmd for Windows
authorIvan Dubrov <idubrov@guidewire.com>
Fri, 25 Apr 2014 22:56:46 +0000 (15:56 -0700)
committerIvan Dubrov <idubrov@guidewire.com>
Fri, 25 Apr 2014 22:56:46 +0000 (15:56 -0700)
native/compile.cmd [new file with mode: 0644]

diff --git a/native/compile.cmd b/native/compile.cmd
new file mode 100644 (file)
index 0000000..a6c8b41
--- /dev/null
@@ -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