|
@ -44,20 +44,20 @@ cmake -DCMAKE_BUILD_TYPE=Release .. && cmake --build . |
|
|
|
|
|
|
|
|
First generate the Visual Studio 2017 project/solution files: |
|
|
First generate the Visual Studio 2017 project/solution files: |
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
|
|
|
|
```cmd |
|
|
mkdir build |
|
|
mkdir build |
|
|
cd build |
|
|
cd build |
|
|
cmake -G "Visual Studio 15" .. |
|
|
cmake -G "Visual Studio 15" .. |
|
|
``` |
|
|
``` |
|
|
The default default will build for x86. For 64-bit run: |
|
|
The default default will build for x86. For 64-bit run: |
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
|
|
|
|
```cmd |
|
|
cmake -G "Visual Studio 15 Win64" .. |
|
|
cmake -G "Visual Studio 15 Win64" .. |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
To compile the Windows solution from the command-line: |
|
|
To compile the Windows solution from the command-line: |
|
|
|
|
|
|
|
|
```bash |
|
|
|
|
|
|
|
|
```cmd |
|
|
devenv /build Debug leveldb.sln |
|
|
devenv /build Debug leveldb.sln |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|