summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-12-20 14:41:18 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-12-20 14:41:18 (GMT)
commit221c95da88f4acfa56e3232b73eeed102bf3b563 (patch)
tree3045b6d847a8307de88063284a3e40d2fb6d150f /Modules
parentc6072c7806777fc734d7a6287229f87a26844c8b (diff)
parent95c705a6a90df796e08dd88759015ca0189bd689 (diff)
downloadCMake-221c95da88f4acfa56e3232b73eeed102bf3b563.zip
CMake-221c95da88f4acfa56e3232b73eeed102bf3b563.tar.gz
CMake-221c95da88f4acfa56e3232b73eeed102bf3b563.tar.bz2
Merge topic 'doc-TestCXXAcceptsFlag-cleanup'
95c705a TestCXXAcceptsFlag: Update documentation (#14657)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/TestCXXAcceptsFlag.cmake16
1 files changed, 9 insertions, 7 deletions
diff --git a/Modules/TestCXXAcceptsFlag.cmake b/Modules/TestCXXAcceptsFlag.cmake
index 2bcbea6..c814187 100644
--- a/Modules/TestCXXAcceptsFlag.cmake
+++ b/Modules/TestCXXAcceptsFlag.cmake
@@ -2,16 +2,18 @@
# 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) -
-# checks if the function exists
-# FLAGS - the flags to try
-# VARIABLE - variable to store the result
+# CHECK_CXX_ACCEPTS_FLAG(<flags> <variable>)
+#
+# ``<flags>``
+# the flags to try
+# ``<variable>``
+# variable to store the result
#=============================================================================
# Copyright 2002-2009 Kitware, Inc.