|
|
@ -1,7 +1,7 @@ |
|
|
|
# This cmake build is for Windows 64-bit only. |
|
|
|
# This cmake build is for Windows 64-bit only. |
|
|
|
# |
|
|
|
# |
|
|
|
# Prerequisites: |
|
|
|
# Prerequisites: |
|
|
|
# You must have Visual Studio 2013 Update 4 installed. Start the Developer Command Prompt window that is a part of Visual Studio installation. |
|
|
|
# You must have at least Visual Studio 2015 Update 3. Start the Developer Command Prompt window that is a part of Visual Studio installation. |
|
|
|
# Run the build commands from within the Developer Command Prompt window to have paths to the compiler and runtime libraries set. |
|
|
|
# Run the build commands from within the Developer Command Prompt window to have paths to the compiler and runtime libraries set. |
|
|
|
# You must have git.exe in your %PATH% environment variable. |
|
|
|
# You must have git.exe in your %PATH% environment variable. |
|
|
|
# |
|
|
|
# |
|
|
@ -13,8 +13,7 @@ |
|
|
|
# cd build |
|
|
|
# cd build |
|
|
|
# 3. Run cmake to generate project files for Windows, add more options to enable required third-party libraries. |
|
|
|
# 3. Run cmake to generate project files for Windows, add more options to enable required third-party libraries. |
|
|
|
# See thirdparty.inc for more information. |
|
|
|
# See thirdparty.inc for more information. |
|
|
|
# sample command: cmake -G "Visual Studio 12 Win64" -DGFLAGS=1 -DSNAPPY=1 -DJEMALLOC=1 -DJNI=1 .. |
|
|
|
# sample command: cmake -G "Visual Studio 14 Win64" -DGFLAGS=1 -DSNAPPY=1 -DJEMALLOC=1 -DJNI=1 .. |
|
|
|
# OR for VS Studio 15 cmake -G "Visual Studio 14 Win64" -DGFLAGS=1 -DSNAPPY=1 -DJEMALLOC=1 -DJNI=1 .. |
|
|
|
|
|
|
|
# 4. Then build the project in debug mode (you may want to add /m[:<N>] flag to run msbuild in <N> parallel threads |
|
|
|
# 4. Then build the project in debug mode (you may want to add /m[:<N>] flag to run msbuild in <N> parallel threads |
|
|
|
# or simply /m ot use all avail cores) |
|
|
|
# or simply /m ot use all avail cores) |
|
|
|
# msbuild rocksdb.sln |
|
|
|
# msbuild rocksdb.sln |
|
|
|