From: bruneton Date: Wed, 2 Oct 2013 12:55:14 +0000 (+0000) Subject: CMake: documenting SALOME_CMAKE_DEBUG X-Git-Tag: V7_4_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1b10b36ba1e3d699abfbbbf8b9af25f92014cf68;p=tools%2Fdocumentation.git CMake: documenting SALOME_CMAKE_DEBUG --- 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