summaryrefslogtreecommitdiffstats
path: root/Modules/CheckCCompilerFlag.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2013-08-13 19:06:19 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2013-08-13 19:17:42 (GMT)
commit293ecfeb79f9c0ac3e9018fa66d7cc944b9a21d9 (patch)
tree9d061c9d1f2d050b618a34b849947629c3299e92 /Modules/CheckCCompilerFlag.cmake
parent93eec2ecd1fab2b21e506397880d882b884cbea3 (diff)
downloadCMake-293ecfeb79f9c0ac3e9018fa66d7cc944b9a21d9.zip
CMake-293ecfeb79f9c0ac3e9018fa66d7cc944b9a21d9.tar.gz
CMake-293ecfeb79f9c0ac3e9018fa66d7cc944b9a21d9.tar.bz2
CheckC*CompilerFlag: add documentation what to expect from a positive result
Diffstat (limited to 'Modules/CheckCCompilerFlag.cmake')
-rw-r--r--Modules/CheckCCompilerFlag.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CheckCCompilerFlag.cmake b/Modules/CheckCCompilerFlag.cmake
index 2213acc..bc15e9a 100644
--- a/Modules/CheckCCompilerFlag.cmake
+++ b/Modules/CheckCCompilerFlag.cmake
@@ -6,6 +6,9 @@
# sets CMAKE_REQUIRED_DEFINITIONS to <flag>.
# See help for CheckCSourceCompiles for a listing of variables
# that can otherwise modify the build.
+# The result only tells that the compiler does not give an error message when
+# it encounters the flag. If the flag has any effect or even a specific one is
+# beyond the scope of this module.
#=============================================================================
# Copyright 2006-2011 Kitware, Inc.