From 56a75975e3673c0cf6fad5c45d564e771fef9b3b Mon Sep 17 00:00:00 2001 From: John Kessenich Date: Thu, 9 Aug 2018 13:56:57 -0600 Subject: [PATCH] Fix #1469: Make it easier to copy/paste build instructions. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 README.md diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 402b4d6..544081d --- a/README.md +++ b/README.md @@ -105,8 +105,8 @@ cd $BUILD_DIR For building on Linux: ```bash -cmake -DCMAKE_BUILD_TYPE={Debug|Release|RelWithDebInfo} \ - -DCMAKE_INSTALL_PREFIX="$(pwd)/install" $SOURCE_DIR +cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$(pwd)/install" $SOURCE_DIR +# "Release" (for CMAKE_BUILD_TYPE) could also be "Debug" or "RelWithDebInfo" ``` For building on Windows: @@ -125,8 +125,8 @@ The CMake GUI also works for Windows (version 3.4.1 tested). make -j4 install # for Windows: -cmake --build . --config {Release|Debug|MinSizeRel|RelWithDebInfo} \ - --target install +cmake --build . --config Release --target install +# "Release" (for --config) could also be "Debug", "MinSizeRel", or "RelWithDebInfo" ``` If using MSVC, after running CMake to configure, use the -- 2.7.4