From 23f516d6e3518f99f399f3e16bc9805cc4a98bb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Mon, 28 Oct 2019 11:07:03 +0100 Subject: [PATCH] Fix missing 'D' in build type cmake variable definition in command line --- Documentation/doc/Documentation/Usage.txt | 4 ++-- Documentation/doc/Documentation/advanced/Installation.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/doc/Documentation/Usage.txt b/Documentation/doc/Documentation/Usage.txt index 65b7c4e6e2f..00e19f24615 100644 --- a/Documentation/doc/Documentation/Usage.txt +++ b/Documentation/doc/Documentation/Usage.txt @@ -150,7 +150,7 @@ It is also strongly recommended to set the build type variable to `Release` for if no debugging is intended. Users should thus run: cd CGAL-\cgalReleaseNumber/examples/Triangulation_2 - cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -CMAKE_BUILD_TYPE=Release . # we are here using a release tarball + cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -DCMAKE_BUILD_TYPE=Release . # we are here using a release tarball \subsection usage_configuring_cmake_gui Specifying Missing Dependencies @@ -195,7 +195,7 @@ the process of configuring a user's program called `your_program.cpp` amounts to cd /path/to/your/program path/to/cgal/Scripts/scripts/cgal_create_CMakeLists -s your_program - cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -CMAKE_BUILD_TYPE=Release . + cmake -DCGAL_DIR=$HOME/CGAL-\cgalReleaseNumber -DCMAKE_BUILD_TYPE=Release . Note that the script `cgal_create_CMakeLists` creates a very coarse `CMakeLists.txt` file which might not properly encode the third party dependencies of your program. Users are advised to look diff --git a/Documentation/doc/Documentation/advanced/Installation.txt b/Documentation/doc/Documentation/advanced/Installation.txt index 50fe9a3c408..e2f095f6e91 100644 --- a/Documentation/doc/Documentation/advanced/Installation.txt +++ b/Documentation/doc/Documentation/advanced/Installation.txt @@ -298,7 +298,7 @@ the process of configuring a user's program called `your_program.cpp` amounts to cd /path/to/your/program cgal_create_CMakeLists -s your_program - cmake -DCGAL_DIR=XXXXXX -CMAKE_BUILD_TYPE=Release . + cmake -DCGAL_DIR=XXXXXX -DCMAKE_BUILD_TYPE=Release . make In order to configure a program, you need to indicate the location of the \cgal configuration file