Salome HOME
CMake: documenting SALOME_CMAKE_DEBUG
authorbruneton <bruneton>
Wed, 2 Oct 2013 12:55:14 +0000 (12:55 +0000)
committerbruneton <bruneton>
Wed, 2 Oct 2013 12:55:14 +0000 (12:55 +0000)
dev/cmake/source/various.rst

index dee42b7f70d6499d5d807791e8ece6f78f02b5f4..14ce16b19c7920e31d3b5814dae5f60517571c28 100644 (file)
@@ -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