From f8a5a78c2c66e43dc62432e810cdec0205c2ad7a Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Thu, 20 Dec 2018 09:17:34 -0700 Subject: [PATCH] doc: add CMAKE_VERBOSE_MAKEFILE and CXX_COMPILER_LAUNCHER --- cmake/README.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/cmake/README.md b/cmake/README.md index ae9ea8d1f7..ce3b4502af 100644 --- a/cmake/README.md +++ b/cmake/README.md @@ -24,7 +24,7 @@ tasks, act as a reference and provide examples of typical use cases. * [Build directory vs. Source Directory](#build-directory-vs-source-directory) * [Defining and using presets](#defining-and-using-presets) * [Reference](#reference) - * [Common CMAKE Configuration Options](#common-cmake-configuration-options) + * [Common CMake Configuration Options](#common-cmake-configuration-options) * [LAMMPS Configuration Options](#lammps-configuration-options) * [Parallelization and Accelerator Packages](#parallelization-and-accelerator-packages) * [Default Packages](#default-packages) @@ -179,7 +179,7 @@ cmake -C ../cmake/presets/std_nolib.cmake -D PKG_GPU=on ../cmake # Reference -## Common CMAKE Configuration Options +## Common CMake Configuration Options @@ -208,6 +208,16 @@ cmake -C ../cmake/presets/std_nolib.cmake -D PKG_GPU=on ../cmake + + + + +
Enable verbose output from Makefile builds (useful for debugging), the same can be achived by adding `VERBOSE=1` to the `make` call. +
+
off (default)
+
on
+
+
@@ -1729,6 +1739,13 @@ cache by setting the `CMAKE_C_COMPILER`, `CMAKE_CXX_COMPILER`, value of `FC` environment variable at first `cmake` run + + CXX_COMPILER_LAUNCHER + CMake will run this tool and pass the compiler and its arguments to the tool. Some example tools are distcc and ccache. + + (empty) + +