summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-08-26 14:34:23 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-08-26 14:34:23 (GMT)
commit889527aa9cd9f2b69d429ed766926105242fb0a8 (patch)
tree6020702792c702649d0790197486383b2419b9bc /Modules
parent4d5d8df0cdd1d413853a0e8b64b20a8e63c05230 (diff)
parent293ecfeb79f9c0ac3e9018fa66d7cc944b9a21d9 (diff)
downloadCMake-889527aa9cd9f2b69d429ed766926105242fb0a8.zip
CMake-889527aa9cd9f2b69d429ed766926105242fb0a8.tar.gz
CMake-889527aa9cd9f2b69d429ed766926105242fb0a8.tar.bz2
Merge topic 'doc-check-flags'
293ecfe CheckC*CompilerFlag: add documentation what to expect from a positive result
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CheckCCompilerFlag.cmake3
-rw-r--r--Modules/CheckCXXCompilerFlag.cmake3
2 files changed, 6 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.
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake
index 5e8db03..eee3a70 100644
--- a/Modules/CheckCXXCompilerFlag.cmake
+++ b/Modules/CheckCXXCompilerFlag.cmake
@@ -6,6 +6,9 @@
# sets CMAKE_REQUIRED_DEFINITIONS to <flag>.
# See help for CheckCXXSourceCompiles 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-2010 Kitware, Inc.