summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2007-01-13 22:06:51 +0000
committerJamis Buck <jamis@37signals.com>2007-01-13 22:06:51 +0000
commitc1d988456b95df002b191c01e2172a2da4d7563c (patch)
treeb85e8694a248c223cfb4774bfe076a88367180a0
parentcd10b8d26d357910c3461606e6eb21e7784001bf (diff)
downloadthird_party-sqlite3-ruby-c1d988456b95df002b191c01e2172a2da4d7563c.tar.gz
third_party-sqlite3-ruby-c1d988456b95df002b191c01e2172a2da4d7563c.tar.xz
third_party-sqlite3-ruby-c1d988456b95df002b191c01e2172a2da4d7563c.zip
a simple batch file to aid in building the library on win32
-rwxr-xr-xext/sqlite3_api/win32/build.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/sqlite3_api/win32/build.bat b/ext/sqlite3_api/win32/build.bat
new file mode 100755
index 0000000..cffb5ed
--- /dev/null
+++ b/ext/sqlite3_api/win32/build.bat
@@ -0,0 +1,7 @@
+REM This is not guaranteed to work, ever. It's just a little helper
+REM script that I threw together to help me build the win32 version of
+REM the library. If someone with more win32-fu than I wants to make
+REM something more robust, please feel free! I'd love to include it.
+REM -- Jamis Buck
+
+cl /LD /Ie:\WinSDK\Include /Ic:\ruby\lib\ruby\1.8\i386-mswin32 /Ic:\ruby\sqlite3\src /Ic:\ruby\src\ruby-1.8.4_2006-04-14 sqlite3_api_wrap.c /link /LIBPATH:c:\ruby\sqlite3 /LIBPATH:e:\WinSDK\Lib /LIBPATH:c:\ruby\lib sqlite3.lib msvcrt-ruby18.lib