aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-05-23 04:59:41 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-05-23 04:59:41 +0300
commitbfe8b9995c4649ce94a7befb3b9572eee30dcdc6 (patch)
tree46f384558b0320d4a82de087a97e4bec4b6c6f62
parentcommon.cmake update (diff)
downloadprivilege-check-bfe8b9995c4649ce94a7befb3b9572eee30dcdc6.tar.gz
privilege-check-bfe8b9995c4649ce94a7befb3b9572eee30dcdc6.zip
README update
Diffstat (limited to '')
-rw-r--r--README.md49
1 files changed, 24 insertions, 25 deletions
diff --git a/README.md b/README.md
index 5044f00..1d2260d 100644
--- a/README.md
+++ b/README.md
@@ -19,31 +19,30 @@ Building
Create the build files using CMake and build using your native build tools
(Visual Studio/make/etc.).
-For example, using Visual Studio Community 2015 Update 3 (targetting x86-64):
-
- > cd
- D:\workspace\build\privilege-check\msvc\x64
-
- > cmake -G "Visual Studio 14 2015 Win64" D:\workspace\personal\privilege-check
- ...
-
- > cmake --build . --config release
- ...
-
-Another example, using Cygwin + MinGW-w64 + `make` (again, targetting x86-64):
-
- > pwd
- /cygdrive/d/workspace/build/privilege-check/mingw/x64/release
-
- > cmake -G "Unix Makefiles" \
- -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ \
- -D CMAKE_RC_COMPILER=x86_64-w64-mingw32-windres \
- -D CMAKE_BUILD_TYPE=Release \
- /cygdrive/d/workspace/personal/privilege-test
- ...
-
- > cmake --build . -- -j
- ...
+* **Example (Visual Studio).**
+In the example below, the project directory is
+"C:\workspace\personal\privilege-check" and Visual Studio 2015 is used,
+targeting x86-64.
+
+ > cmake -G "Visual Studio 14 2015 Win64" C:\workspace\personal\privilege-check
+ ...
+
+ > cmake --build . --config release
+ ...
+
+* **Example (MinGW-w64).**
+Another example, this time using Cygwin + MinGW-w64, targeting x86-64
+(the project directory is "/cygdrive/c/workspace/personal/privilege-check").
+
+ > cmake -G "Unix Makefiles" \
+ -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ \
+ -D CMAKE_RC_COMPILER=x86_64-w64-mingw32-windres \
+ -D CMAKE_BUILD_TYPE=Release \
+ /cygdrive/c/workspace/personal/privilege-test
+ ...
+
+ > cmake --build . -- -j
+ ...
Cross table
-----------