Merge topic 'doc-TestCXXAcceptsFlag-cleanup'

95c705a TestCXXAcceptsFlag: Update documentation (#14657)
This commit is contained in:
Brad King 2013-12-20 09:41:18 -05:00 committed by CMake Topic Stage
commit 221c95da88
1 changed files with 9 additions and 7 deletions

View File

@ -2,16 +2,18 @@
# TestCXXAcceptsFlag # TestCXXAcceptsFlag
# ------------------ # ------------------
# #
# Test CXX compiler for a flag # Deprecated. See :module:`CheckCXXCompilerFlag`.
# #
# Check if the CXX compiler accepts a flag # Check if the CXX compiler accepts a flag.
# #
# :: # .. code-block:: cmake
# #
# Macro CHECK_CXX_ACCEPTS_FLAG(FLAGS VARIABLE) - # CHECK_CXX_ACCEPTS_FLAG(<flags> <variable>)
# checks if the function exists #
# FLAGS - the flags to try # ``<flags>``
# VARIABLE - variable to store the result # the flags to try
# ``<variable>``
# variable to store the result
#============================================================================= #=============================================================================
# Copyright 2002-2009 Kitware, Inc. # Copyright 2002-2009 Kitware, Inc.