summaryrefslogtreecommitdiff
path: root/Modules/CheckCSourceCompiles.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-09-17 15:28:51 -0400
committerBrad King <brad.king@kitware.com>2009-09-17 15:28:51 -0400
commit80af3ae35ddb2ff79d64d7183d901a95d05d661d (patch)
tree05b229db83f5f3caf7c792a06a680cf9478bc5c2 /Modules/CheckCSourceCompiles.cmake
parent308e972412cdf3d8cde77b07527465e75888301a (diff)
downloadcmake-80af3ae35ddb2ff79d64d7183d901a95d05d661d.tar.gz
Cleanup generic compiler check macro documentation
This commit improves formatting and style of the documentation for the general-purpose compiler check macros: CHECK_C_COMPILER_FLAG CHECK_C_SOURCE_COMPILES CHECK_C_SOURCE_RUNS CHECK_CXX_COMPILER_FLAG CHECK_CXX_SOURCE_COMPILES CHECK_CXX_SOURCE_RUNS This sytle is more consistent with CMake command documentation. It also looks nicer in the generated documentation text files.
Diffstat (limited to 'Modules/CheckCSourceCompiles.cmake')
-rw-r--r--Modules/CheckCSourceCompiles.cmake10
1 files changed, 4 insertions, 6 deletions
diff --git a/Modules/CheckCSourceCompiles.cmake b/Modules/CheckCSourceCompiles.cmake
index 5435df4f66..41de73b53d 100644
--- a/Modules/CheckCSourceCompiles.cmake
+++ b/Modules/CheckCSourceCompiles.cmake
@@ -1,9 +1,7 @@
-# - Check if the C source code provided in the SOURCE argument compiles.
-# CHECK_C_SOURCE_COMPILES(SOURCE VAR)
-#
-# SOURCE - source code to try to compile
-# VAR - variable to store whether the source code compiled
-#
+# - Check if the given C source code compiles.
+# CHECK_C_SOURCE_COMPILES(<code> <var>)
+# <code> - source code to try to compile
+# <var> - variable to store whether the source code compiled
# The following variables may be set before calling this macro to
# modify the way the check is run:
#