[Cmake-commits] CMake branch, next, updated. v3.2.2-2764-g00e2021
Brad King
brad.king at kitware.com
Fri May 15 14:48:39 EDT 2015
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 00e2021be898b03f53de7308eebea4acb13f884d (commit)
via e5f8ead50b29004847ebc2f7b97bfc0347ccac96 (commit)
from 210f07bf40a9261667bd986dadc42bef3881757a (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=00e2021be898b03f53de7308eebea4acb13f884d
commit 00e2021be898b03f53de7308eebea4acb13f884d
Merge: 210f07b e5f8ead
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri May 15 14:48:38 2015 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Fri May 15 14:48:38 2015 -0400
Merge topic 'doc-cmake_minimum_required-not-in-function' into next
e5f8ead5 Help: Document behavior of cmake_minimum_required in a function
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e5f8ead50b29004847ebc2f7b97bfc0347ccac96
commit e5f8ead50b29004847ebc2f7b97bfc0347ccac96
Author: Brad King <brad.king at kitware.com>
AuthorDate: Fri May 15 14:47:30 2015 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Fri May 15 14:48:15 2015 -0400
Help: Document behavior of cmake_minimum_required in a function
Add a note to the cmake_minimum_required documentation about the
limits of calling it in a function.
diff --git a/Help/command/cmake_minimum_required.rst b/Help/command/cmake_minimum_required.rst
index 92e3001..9865eeb 100644
--- a/Help/command/cmake_minimum_required.rst
+++ b/Help/command/cmake_minimum_required.rst
@@ -35,3 +35,7 @@ with an error instead of just a warning.
:command:`project` command. It is important to establish version
and policy settings before invoking other commands whose behavior
they may affect. See also policy :policy:`CMP0000`.
+
+ Calling ``cmake_minimum_required()`` inside a :command:`function`
+ limits some effects to the function scope when invoked. Such calls
+ should not be made with the intention of having global effects.
-----------------------------------------------------------------------
Summary of changes:
Help/command/cmake_minimum_required.rst | 4 ++++
1 file changed, 4 insertions(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list