[Cmake-commits] CMake branch, next, updated. v3.0.0-rc5-3293-g18d6097
Ben Boeckel
ben.boeckel at kitware.com
Wed May 21 13:28:01 EDT 2014
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 18d6097fc5892545400de1d37e9d0b219aee7bd6 (commit)
via daa854c7bc28f0d71d7fa8f8254b4fcca841e2d0 (commit)
from 711d6bd183a1fe9bfc7faf66380003f0e9eeca4e (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=18d6097fc5892545400de1d37e9d0b219aee7bd6
commit 18d6097fc5892545400de1d37e9d0b219aee7bd6
Merge: 711d6bd daa854c
Author: Ben Boeckel <ben.boeckel at kitware.com>
AuthorDate: Wed May 21 13:28:01 2014 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Wed May 21 13:28:01 2014 -0400
Merge topic 'dev/watch-variable-allowed-access-type' into next
daa854c7 watch_variable: Remove excess access type
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=daa854c7bc28f0d71d7fa8f8254b4fcca841e2d0
commit daa854c7bc28f0d71d7fa8f8254b4fcca841e2d0
Author: Ben Boeckel <ben.boeckel at kitware.com>
AuthorDate: Mon May 5 17:25:24 2014 -0400
Commit: Ben Boeckel <ben.boeckel at kitware.com>
CommitDate: Wed May 21 13:27:35 2014 -0400
watch_variable: Remove excess access type
The ALLOWED_UNKNOWN_VARIABLE_READ_ACCESS access type was switched on an
undocumented variable and its lookup caused an unnecessary performance
impact.
diff --git a/Help/release/dev/watch-variable-policy.rst b/Help/release/dev/watch-variable-policy.rst
new file mode 100644
index 0000000..ab495ab
--- /dev/null
+++ b/Help/release/dev/watch-variable-policy.rst
@@ -0,0 +1,4 @@
+watch-variable-policy
+---------------------
+
+* Remove ALLOWED_UNKNOWN_VARIABLE_READ_ACCESS access type in variable_watch.
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 90a7b0b..9b7290b 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -2472,19 +2472,8 @@ const char* cmMakefile::GetDefinition(const std::string& name) const
}
else
{
- // are unknown access allowed
- const char* allow = this->Internal->VarStack.top()
- .Get("CMAKE_ALLOW_UNKNOWN_VARIABLE_READ_ACCESS");
- if(cmSystemTools::IsOn(allow))
- {
- vv->VariableAccessed(name,
- cmVariableWatch::ALLOWED_UNKNOWN_VARIABLE_READ_ACCESS, def, this);
- }
- else
- {
- vv->VariableAccessed(name,
+ vv->VariableAccessed(name,
cmVariableWatch::UNKNOWN_VARIABLE_READ_ACCESS, def, this);
- }
}
}
#endif
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list