From b002f04f03ee924f7cdbe44483a74d66be2982cd Mon Sep 17 00:00:00 2001 From: "yuangongji (A)" <82787816@qq.com> Date: Mon, 3 Jun 2019 23:22:35 +0800 Subject: [PATCH] doc: cmake command on Windows Closes: #825 (cherry-pick) --- Documentation/Building.md | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/Building.md b/Documentation/Building.md index fe957641..22dd4e2f 100644 --- a/Documentation/Building.md +++ b/Documentation/Building.md @@ -53,8 +53,8 @@ The configure script also supports the following flags: __Download CMake for Windows [here](https://cmake.org/download/)__ ``` > md build && cd build -> cmake -G "Visual Studio 10" .. # Or use any generator you want to use. Run cmake --help for a list -> start libevent.sln +> cmake -G "Visual Studio 10" .. # Or use any generator you want to use. Run cmake --help for a list +> cmake --build . --config Release # Or "start libevent.sln" and build with menu in Visual Studio. ``` In the above, the ".." refers to the dir containing the Libevent source code. You can build multiple versions (with different compile time settings) from the same source tree by creating other build directories. diff --git a/README.md b/README.md index e51f6496..538b9135 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,8 @@ Install CMake: ``` $ md build && cd build -$ cmake -G "Visual Studio 10" .. # Or whatever generator you want to use cmake --help for a list. -$ start libevent.sln +$ cmake -G "Visual Studio 10" .. # Or use any generator you want to use. Run cmake --help for a list +$ cmake --build . --config Release # Or "start libevent.sln" and build with menu in Visual Studio. ``` See [Documentation/Building#Building on Windows](/Documentation/Building.md#building-on-windows) for more information -- 2.50.1