[Cmake-commits] CMake branch, next, updated. v2.8.3-1387-g280017b
Brad King
brad.king at kitware.com
Mon Jan 17 14:05:51 EST 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 280017b1090227fe1cdf1f3173c68302645316f9 (commit)
via 114c3224a4934c8f5bbfa0330451583a05383062 (commit)
from ba2f4f244345cd9c1e6cb7cdf92cdedd8348bca0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=280017b1090227fe1cdf1f3173c68302645316f9
commit 280017b1090227fe1cdf1f3173c68302645316f9
Merge: ba2f4f2 114c322
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Jan 17 14:05:49 2011 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Jan 17 14:05:49 2011 -0500
Merge topic 'doc-CheckFunctionExists-clarify-issue-10044' into next
114c322 Document CheckFunctionExists more clearly (#10044)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=114c3224a4934c8f5bbfa0330451583a05383062
commit 114c3224a4934c8f5bbfa0330451583a05383062
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Jan 17 14:02:21 2011 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Mon Jan 17 14:02:21 2011 -0500
Document CheckFunctionExists more clearly (#10044)
State that the function need only be available at link time. Refer to
CheckSymbolExists for verifying that a declaration exists.
diff --git a/Modules/CheckFunctionExists.cmake b/Modules/CheckFunctionExists.cmake
index e1a1777..0ba36d9 100644
--- a/Modules/CheckFunctionExists.cmake
+++ b/Modules/CheckFunctionExists.cmake
@@ -1,8 +1,10 @@
-# - Check if the function exists.
-# CHECK_FUNCTION_EXISTS(FUNCTION VARIABLE)
-# - macro which checks if the function exists
-# FUNCTION - the name of the function
-# VARIABLE - variable to store the result
+# - Check if a C function can be linked
+# CHECK_FUNCTION_EXISTS(<function> <variable>)
+#
+# Check that the <function> is provided by libraries on the system and
+# store the result in a <variable>. This does not verify that any
+# system header file declares the function, only that it can be found
+# at link time (considure using CheckSymbolExists).
#
# The following variables may be set before calling this macro to
# modify the way the check is run:
@@ -13,7 +15,7 @@
# CMAKE_REQUIRED_LIBRARIES = list of libraries to link
#=============================================================================
-# Copyright 2002-2009 Kitware, Inc.
+# Copyright 2002-2011 Kitware, Inc.
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
-----------------------------------------------------------------------
Summary of changes:
Modules/CheckFunctionExists.cmake | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list