diff options
author | Vinnie Falco <vinnie.falco@gmail.com> | 2013-05-03 19:06:59 -0700 |
---|---|---|
committer | Vinnie Falco <vinnie.falco@gmail.com> | 2013-05-03 19:06:59 -0700 |
commit | 80744b3beeab9b25be46e122e6648ba9a0c46e5f (patch) | |
tree | c0712b4839fd1518db5bdf432868d7f9c95256fc /src/leveldb/WINDOWS.md | |
parent | 64753f0438f66c51ba7ae2173120ae97f22d186e (diff) | |
parent | c25e98186d0f716451ef000e55646d25e014f573 (diff) |
Merge commit 'c25e98186d0f716451ef000e55646d25e014f573' as 'src/leveldb'
Diffstat (limited to 'src/leveldb/WINDOWS.md')
-rw-r--r-- | src/leveldb/WINDOWS.md | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/leveldb/WINDOWS.md b/src/leveldb/WINDOWS.md new file mode 100644 index 0000000000..5b76c2448f --- /dev/null +++ b/src/leveldb/WINDOWS.md @@ -0,0 +1,39 @@ +# Building LevelDB On Windows + +## Prereqs + +Install the [Windows Software Development Kit version 7.1](http://www.microsoft.com/downloads/dlx/en-us/listdetailsview.aspx?FamilyID=6b6c21d2-2006-4afa-9702-529fa782d63b). + +Download and extract the [Snappy source distribution](http://snappy.googlecode.com/files/snappy-1.0.5.tar.gz) + +1. Open the "Windows SDK 7.1 Command Prompt" : + Start Menu -> "Microsoft Windows SDK v7.1" > "Windows SDK 7.1 Command Prompt" +2. Change the directory to the leveldb project + +## Building the Static lib + +* 32 bit Version + + setenv /x86 + msbuild.exe /p:Configuration=Release /p:Platform=Win32 /p:Snappy=..\snappy-1.0.5 + +* 64 bit Version + + setenv /x64 + msbuild.exe /p:Configuration=Release /p:Platform=x64 /p:Snappy=..\snappy-1.0.5 + + +## Building and Running the Benchmark app + +* 32 bit Version + + setenv /x86 + msbuild.exe /p:Configuration=Benchmark /p:Platform=Win32 /p:Snappy=..\snappy-1.0.5 + Benchmark\leveldb.exe + +* 64 bit Version + + setenv /x64 + msbuild.exe /p:Configuration=Benchmark /p:Platform=x64 /p:Snappy=..\snappy-1.0.5 + x64\Benchmark\leveldb.exe + |