From 1b10b36ba1e3d699abfbbbf8b9af25f92014cf68 Mon Sep 17 00:00:00 2001 From: bruneton Date: Wed, 2 Oct 2013 12:55:14 +0000 Subject: [PATCH] CMake: documenting SALOME_CMAKE_DEBUG --- dev/cmake/source/various.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev/cmake/source/various.rst b/dev/cmake/source/various.rst index dee42b7..14ce16b 100644 --- a/dev/cmake/source/various.rst +++ b/dev/cmake/source/various.rst @@ -17,6 +17,12 @@ Each of the following solutions displays the full command line for each build ac To have this by default for every build, one can specify this setting at the configuration step by toggling the CMAKE_VERBOSE_MAKEFILE to ON. +Normally detection problems are wrapped by the macro SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS() to print a simple error message that mostly shows the current content of the XYZ_ROOT_DIR variable. The developper can switch the flag:: + + SALOME_CMAKE_DEBUG + +to ON to see the full original CMake error message. + .. _conventions: General conventions -- 2.39.2