Salome HOME
Completed doc of check logic for SALOME_GENERATE_ENVIRONMENT_SCRIPT
authorbruneton <bruneton>
Wed, 30 Oct 2013 12:51:52 +0000 (12:51 +0000)
committerbruneton <bruneton>
Wed, 30 Oct 2013 12:51:52 +0000 (12:51 +0000)
salome_adm/cmake_files/SalomeMacros.cmake

index 36dd8b77132d420900b4eeb9b82cb4c0e4378910..85569817971fe50ccb75c295b7c3ef92d84e8e34 100755 (executable)
@@ -659,6 +659,10 @@ ENDMACRO(SALOME_ACCUMULATE_HEADERS)
 # - If in arguments is set keyword CHECK all argument after checked for directory, 
 #   else if NOT_CHECK macro accumulates arguments without checking.
 #   By default all arguments without keyword must be checked.
+#   Checking an argument means that we check:
+#    - that the path actually exists
+#    - that this is not a standard system path (starting with "/usr"). This avoids
+#   polluting LD_LIBRARY_PATH or PATH with things like "/usr/lib64" ...
 #
 MACRO(SALOME_ACCUMULATE_ENVIRONMENT envvar)
   SET(_is_check ON)