Merge topic 'doc-check-compiler-flag-override'

3e79d65 Check*CompilerFlag: Document use of CMAKE_REQUIRED_DEFINITIONS (#14309)
This commit is contained in:
Brad King
2013-07-26 09:00:51 -04:00
committed by CMake Topic Stage
2 changed files with 7 additions and 5 deletions
+3 -2
View File
@@ -2,9 +2,10 @@
# CHECK_C_COMPILER_FLAG(<flag> <var>)
# <flag> - the compiler flag
# <var> - variable to store the result
# This internally calls the check_c_source_compiles macro.
# This internally calls the check_c_source_compiles macro and
# sets CMAKE_REQUIRED_DEFINITIONS to <flag>.
# See help for CheckCSourceCompiles for a listing of variables
# that can modify the build.
# that can otherwise modify the build.
#=============================================================================
# Copyright 2006-2011 Kitware, Inc.
+4 -3
View File
@@ -2,9 +2,10 @@
# CHECK_CXX_COMPILER_FLAG(<flag> <var>)
# <flag> - the compiler flag
# <var> - variable to store the result
# This internally calls the check_cxx_source_compiles macro. See help
# for CheckCXXSourceCompiles for a listing of variables that can
# modify the build.
# This internally calls the check_cxx_source_compiles macro and
# sets CMAKE_REQUIRED_DEFINITIONS to <flag>.
# See help for CheckCXXSourceCompiles for a listing of variables
# that can otherwise modify the build.
#=============================================================================
# Copyright 2006-2010 Kitware, Inc.