[Cmake-commits] CMake branch, master, updated. v3.6.2-992-g3bb18e7

2016-09-15 Thread Kitware Robot
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, master has been updated
   via  3bb18e708da186927f59bbc94875e27b57278fcf (commit)
  from  6e06a53ebf58f41cd570d1bbaed7a1c62eac7ed0 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3bb18e708da186927f59bbc94875e27b57278fcf
commit 3bb18e708da186927f59bbc94875e27b57278fcf
Author: Kitware Robot 
AuthorDate: Fri Sep 16 00:01:07 2016 -0400
Commit: Kitware Robot 
CommitDate: Fri Sep 16 00:01:07 2016 -0400

CMake Nightly Date Stamp

diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index 0569e8e..09f55fa 100644
--- a/Source/CMakeVersion.cmake
+++ b/Source/CMakeVersion.cmake
@@ -1,5 +1,5 @@
 # CMake version number components.
 set(CMake_VERSION_MAJOR 3)
 set(CMake_VERSION_MINOR 6)
-set(CMake_VERSION_PATCH 20160915)
+set(CMake_VERSION_PATCH 20160916)
 #set(CMake_VERSION_RC 1)

---

Summary of changes:
 Source/CMakeVersion.cmake |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.6.2-2096-gcafd74b

2016-09-15 Thread Daniel Pfeifer
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  cafd74b307f291f13ac950a3cb671c758676f0ad (commit)
   via  73f648f167e9b11739c4dbbdbd5c024baf1e39ad (commit)
  from  0c73aea46ad9b453e69e0b9de331e1d28742a888 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cafd74b307f291f13ac950a3cb671c758676f0ad
commit cafd74b307f291f13ac950a3cb671c758676f0ad
Merge: 0c73aea 73f648f
Author: Daniel Pfeifer 
AuthorDate: Thu Sep 15 17:59:57 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 17:59:57 2016 -0400

Merge topic 'size-empty' into next

73f648f1 use empty method to check for emptyness


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=73f648f167e9b11739c4dbbdbd5c024baf1e39ad
commit 73f648f167e9b11739c4dbbdbd5c024baf1e39ad
Author: Daniel Pfeifer 
AuthorDate: Thu Sep 15 23:59:29 2016 +0200
Commit: Daniel Pfeifer 
CommitDate: Thu Sep 15 23:59:29 2016 +0200

use empty method to check for emptyness

diff --git a/Source/cmAddCompileOptionsCommand.cxx 
b/Source/cmAddCompileOptionsCommand.cxx
index 2223cf4..cbba831 100644
--- a/Source/cmAddCompileOptionsCommand.cxx
+++ b/Source/cmAddCompileOptionsCommand.cxx
@@ -14,7 +14,7 @@
 bool cmAddCompileOptionsCommand::InitialPass(
   std::vector const& args, cmExecutionStatus&)
 {
-  if (args.size() < 1) {
+  if (args.empty()) {
 return true;
   }
 
diff --git a/Source/cmAddCustomTargetCommand.cxx 
b/Source/cmAddCustomTargetCommand.cxx
index 9dc7c59..8e14966 100644
--- a/Source/cmAddCustomTargetCommand.cxx
+++ b/Source/cmAddCustomTargetCommand.cxx
@@ -18,7 +18,7 @@
 bool cmAddCustomTargetCommand::InitialPass(
   std::vector const& args, cmExecutionStatus&)
 {
-  if (args.size() < 1) {
+  if (args.empty()) {
 this->SetError("called with incorrect number of arguments");
 return false;
   }
diff --git a/Source/cmAddDefinitionsCommand.cxx 
b/Source/cmAddDefinitionsCommand.cxx
index 2d0d026..5f2b32f 100644
--- a/Source/cmAddDefinitionsCommand.cxx
+++ b/Source/cmAddDefinitionsCommand.cxx
@@ -16,7 +16,7 @@ bool 
cmAddDefinitionsCommand::InitialPass(std::vector const& args,
   cmExecutionStatus&)
 {
   // it is OK to have no arguments
-  if (args.size() < 1) {
+  if (args.empty()) {
 return true;
   }
 
diff --git a/Source/cmAddLibraryCommand.cxx b/Source/cmAddLibraryCommand.cxx
index 4516ed2..5a40050 100644
--- a/Source/cmAddLibraryCommand.cxx
+++ b/Source/cmAddLibraryCommand.cxx
@@ -18,7 +18,7 @@
 bool cmAddLibraryCommand::InitialPass(std::vector const& args,
   cmExecutionStatus&)
 {
-  if (args.size() < 1) {
+  if (args.empty()) {
 this->SetError("called with incorrect number of arguments");
 return false;
   }
diff --git a/Source/cmAddSubDirectoryCommand.cxx 
b/Source/cmAddSubDirectoryCommand.cxx
index 63a9051..1a781cc 100644
--- a/Source/cmAddSubDirectoryCommand.cxx
+++ b/Source/cmAddSubDirectoryCommand.cxx
@@ -15,7 +15,7 @@
 bool cmAddSubDirectoryCommand::InitialPass(
   std::vector const& args, cmExecutionStatus&)
 {
-  if (args.size() < 1) {
+  if (args.empty()) {
 this->SetError("called with incorrect number of arguments");
 return false;
   }
diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx
index 9830867..6146053 100644
--- a/Source/cmBuildCommand.cxx
+++ b/Source/cmBuildCommand.cxx
@@ -27,7 +27,7 @@ bool cmBuildCommand::InitialPass(std::vector 
const& args,
 
 bool cmBuildCommand::MainSignature(std::vector const& args)
 {
-  if (args.size() < 1) {
+  if (args.empty()) {
 this->SetError("requires at least one argument naming a CMake variable");
 return false;
   }
diff --git a/Source/cmBuildNameCommand.cxx b/Source/cmBuildNameCommand.cxx
index 27234d7..3d02034 100644
--- a/Source/cmBuildNameCommand.cxx
+++ b/Source/cmBuildNameCommand.cxx
@@ -22,7 +22,7 @@ bool cmBuildNameCommand::InitialPass(std::vector 
const& args,
 "The build_name command should not be called; see CMP0036.")) {
 return true;
   }
-  if (args.size() < 1) {
+  if (args.empty()) {
 this->SetError("called with incorrect number of arguments");
 return false;
   }
diff --git a/Source/cmCMakePolicyCommand.cxx b/Source/cmCMakePolicyCommand.cxx
index 07e0885..03c4a37 100644
--- a/Source/cmCMakePolicyCommand.cxx
+++ b/Source/cmCMakePolicyCommand.cxx
@@ -17,7 +17,7 @@
 bool cmCMakePolicyCommand::InitialPass(std::vector const& args,
cmExecutionStatus&)
 {
-  if (args.size() < 1) {
+  if (args.empty()) {
 this->SetError("requires at least one argument.");
 return false;
   }
di

[Cmake-commits] CMake branch, next, updated. v3.6.2-2094-g0c73aea

2016-09-15 Thread Brad King
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  0c73aea46ad9b453e69e0b9de331e1d28742a888 (commit)
   via  9353d991a4a9df1c7bdededaf0b11fc96227f805 (commit)
   via  fa3897b24eb9a5cbc4926659b11f8cb6087789a1 (commit)
   via  916d84450d2caa7cadc82662039602849cdb118d (commit)
  from  e53d142f05e8d4659638ffa513addeecdb4f154b (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0c73aea46ad9b453e69e0b9de331e1d28742a888
commit 0c73aea46ad9b453e69e0b9de331e1d28742a888
Merge: e53d142 9353d99
Author: Brad King 
AuthorDate: Thu Sep 15 16:09:12 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 16:09:12 2016 -0400

Merge topic 'refactor-target-construction' into next

9353d991 cmTarget: Remove unused support for partial construction
fa3897b2 cmGlobalGenerator: Refactor global target construction
916d8445 cmGlobalGenerator: Split CreateDefaultGlobalTargets implementation


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9353d991a4a9df1c7bdededaf0b11fc96227f805
commit 9353d991a4a9df1c7bdededaf0b11fc96227f805
Author: Brad King 
AuthorDate: Thu Sep 15 16:00:24 2016 -0400
Commit: Brad King 
CommitDate: Thu Sep 15 16:02:27 2016 -0400

cmTarget: Remove unused support for partial construction

We no longer need to support partial construction for cmTarget instances
of type GLOBAL_TARGET.  Require all constructor arguments up front.

diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index d964f00..1b6c93e 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -62,10 +62,10 @@ public:
 cmTarget::cmTarget(std::string const& name, cmState::TargetType type,
Visibility vis, cmMakefile* mf)
 {
-  assert(mf || type == cmState::GLOBAL_TARGET);
+  assert(mf);
   this->Name = name;
   this->TargetTypeValue = type;
-  this->Makefile = CM_NULLPTR;
+  this->Makefile = mf;
   this->HaveInstallRule = false;
   this->DLLPlatform = false;
   this->IsAndroid = false;
@@ -82,25 +82,6 @@ cmTarget::cmTarget(std::string const& name, 
cmState::TargetType type,
 this->RecordDependencies = false;
   }
 
-  if (mf) {
-this->SetMakefile(mf);
-  }
-}
-
-cmTarget cmTarget::CopyForDirectory(cmMakefile* mf) const
-{
-  assert(this->GetType() == cmState::GLOBAL_TARGET);
-  assert(this->GetMakefile() == CM_NULLPTR);
-  cmTarget result(*this);
-  result.SetMakefile(mf);
-  return result;
-}
-
-void cmTarget::SetMakefile(cmMakefile* mf)
-{
-  // Set our makefile.
-  this->Makefile = mf;
-
   // Check whether this is a DLL platform.
   this->DLLPlatform =
 (this->Makefile->IsOn("WIN32") || this->Makefile->IsOn("CYGWIN") ||
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index ebc92f3..4b182bb 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -88,9 +88,6 @@ public:
   ///! Set/Get the name of the target
   const std::string& GetName() const { return this->Name; }
 
-  /** Get a copy of this target adapted for the given directory.  */
-  cmTarget CopyForDirectory(cmMakefile* mf) const;
-
   /** Get the cmMakefile that owns this target.  */
   cmMakefile* GetMakefile() const { return this->Makefile; }
 
@@ -283,8 +280,6 @@ public:
   };
 
 private:
-  void SetMakefile(cmMakefile* mf);
-
   bool HandleLocationPropertyPolicy(cmMakefile* context) const;
 
   const char* GetSuffixVariableInternal(bool implib) const;

https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fa3897b24eb9a5cbc4926659b11f8cb6087789a1
commit fa3897b24eb9a5cbc4926659b11f8cb6087789a1
Author: Brad King 
AuthorDate: Thu Sep 15 15:56:49 2016 -0400
Commit: Brad King 
CommitDate: Thu Sep 15 15:56:49 2016 -0400

cmGlobalGenerator: Refactor global target construction

Avoid using partially-constructed cmTarget instances.  Collect the
information about how to construct each target in a separate structure
and then actually create each cmTarget with full construction.

diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index bea9dfd..64c9870 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1060,16 +1060,16 @@ void cmGlobalGenerator::Configure()
   this->ConfigureDoneCMP0026AndCMP0024 = true;
 
   // Put a copy of each global target in every directory.
-  cmTargets globalTargets;
-  this->CreateDefaultGlobalTargets(&globalTargets);
+  std::vector globalTargets;
+  this->CreateDefaultGlobalTargets(globalTargets);
 
   for (unsigned int i = 0; i < this->Makefiles.size(); ++i) {
 cmMakefile* mf = this->Makefiles[i];
 cmTargets* targets = &(mf->GetTargets());
-cmTargets::iterator tit;
-for

[Cmake-commits] CMake branch, next, updated. v3.6.2-2090-ge53d142

2016-09-15 Thread Brad King
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  e53d142f05e8d4659638ffa513addeecdb4f154b (commit)
   via  8f6cb36695df3ded9e242c35c4b0e79850d24a31 (commit)
  from  9db24a8ccd641c94574302d78b9e5b4fdaa84ee5 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e53d142f05e8d4659638ffa513addeecdb4f154b
commit e53d142f05e8d4659638ffa513addeecdb4f154b
Merge: 9db24a8 8f6cb36
Author: Brad King 
AuthorDate: Thu Sep 15 14:46:38 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 14:46:38 2016 -0400

Merge topic 'file-curl-httpheader' into next

8f6cb366 file(DOWNLOAD|UPLOAD): Add HTTPHEADER suboption


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8f6cb36695df3ded9e242c35c4b0e79850d24a31
commit 8f6cb36695df3ded9e242c35c4b0e79850d24a31
Author: Ruslan Baratov 
AuthorDate: Thu Sep 15 08:38:12 2016 +0300
Commit: Ruslan Baratov 
CommitDate: Thu Sep 15 21:41:39 2016 +0300

file(DOWNLOAD|UPLOAD): Add HTTPHEADER suboption

diff --git a/Help/command/file.rst b/Help/command/file.rst
index f8727f0..77e9f62 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -225,6 +225,9 @@ Options to both ``DOWNLOAD`` and ``UPLOAD`` are:
 ``USERPWD :``
   Set username and password for operation.
 
+``HTTPHEADER ``
+  HTTP header for operation. Suboption can be repeated several times.
+
 Additional options to ``DOWNLOAD`` are:
 
 ``EXPECTED_HASH ALGO=``
diff --git a/Help/release/dev/file-curl-httpheader.rst 
b/Help/release/dev/file-curl-httpheader.rst
new file mode 100644
index 000..2147d40
--- /dev/null
+++ b/Help/release/dev/file-curl-httpheader.rst
@@ -0,0 +1,5 @@
+file-curl-httpheader
+
+
+* The :command:`file(DOWNLOAD)` and :command:`file(UPLOAD)` commands
+  gained a ``HTTPHEADER `` option.
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 2c226cd..c10f426 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -2483,6 +2483,8 @@ bool 
cmFileCommand::HandleDownloadCommand(std::vector const& args)
   bool showProgress = false;
   std::string userpwd;
 
+  std::list curl_headers;
+
   while (i != args.end()) {
 if (*i == "TIMEOUT") {
   ++i;
@@ -2572,6 +2574,13 @@ bool 
cmFileCommand::HandleDownloadCommand(std::vector const& args)
 return false;
   }
   userpwd = *i;
+} else if (*i == "HTTPHEADER") {
+  ++i;
+  if (i == args.end()) {
+this->SetError("DOWNLOAD missing string for HTTPHEADER.");
+return false;
+  }
+  curl_headers.push_back(*i);
 } else {
   // Do not return error for compatibility reason.
   std::string err = "Unexpected argument: ";
@@ -2716,8 +2725,17 @@ bool 
cmFileCommand::HandleDownloadCommand(std::vector const& args)
 check_curl_result(res, "DOWNLOAD cannot set user password: ");
   }
 
+  struct curl_slist* headers = CM_NULLPTR;
+  for (std::list::const_iterator h = curl_headers.begin();
+   h != curl_headers.end(); ++h) {
+headers = ::curl_slist_append(headers, h->c_str());
+  }
+  ::curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
+
   res = ::curl_easy_perform(curl);
 
+  ::curl_slist_free_all(headers);
+
   /* always cleanup */
   g_curl.release();
   ::curl_easy_cleanup(curl);
@@ -2798,6 +2816,8 @@ bool 
cmFileCommand::HandleUploadCommand(std::vector const& args)
   bool showProgress = false;
   std::string userpwd;
 
+  std::list curl_headers;
+
   while (i != args.end()) {
 if (*i == "TIMEOUT") {
   ++i;
@@ -2838,6 +2858,13 @@ bool 
cmFileCommand::HandleUploadCommand(std::vector const& args)
 return false;
   }
   userpwd = *i;
+} else if (*i == "HTTPHEADER") {
+  ++i;
+  if (i == args.end()) {
+this->SetError("UPLOAD missing string for HTTPHEADER.");
+return false;
+  }
+  curl_headers.push_back(*i);
 } else {
   // Do not return error for compatibility reason.
   std::string err = "Unexpected argument: ";
@@ -2956,8 +2983,17 @@ bool 
cmFileCommand::HandleUploadCommand(std::vector const& args)
 check_curl_result(res, "UPLOAD cannot set user password: ");
   }
 
+  struct curl_slist* headers = CM_NULLPTR;
+  for (std::list::const_iterator h = curl_headers.begin();
+   h != curl_headers.end(); ++h) {
+headers = ::curl_slist_append(headers, h->c_str());
+  }
+  ::curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
+
   res = ::curl_easy_perform(curl);
 
+  ::curl_slist_free_all(headers);
+
   /* always cleanup */
   g_curl.release();
   ::curl_easy_cleanup(curl);
diff --git a/Tests/RunCMake/file/DOWNLOAD-httpheader-not-set

[Cmake-commits] CMake branch, next, updated. v3.6.2-2088-g9db24a8

2016-09-15 Thread Brad King
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  9db24a8ccd641c94574302d78b9e5b4fdaa84ee5 (commit)
   via  6e06a53ebf58f41cd570d1bbaed7a1c62eac7ed0 (commit)
   via  6a189675809aa3f43534fde47e5a094464892ead (commit)
  from  2471d0eceab00020e76b20ed7cc06d4df0929726 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9db24a8ccd641c94574302d78b9e5b4fdaa84ee5
commit 9db24a8ccd641c94574302d78b9e5b4fdaa84ee5
Merge: 2471d0e 6e06a53
Author: Brad King 
AuthorDate: Thu Sep 15 14:16:15 2016 -0400
Commit: Brad King 
CommitDate: Thu Sep 15 14:16:15 2016 -0400

Merge branch 'master' into next


---

Summary of changes:


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.6.2-991-g6e06a53

2016-09-15 Thread Brad King
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, master has been updated
   via  6e06a53ebf58f41cd570d1bbaed7a1c62eac7ed0 (commit)
   via  c3507b54968cf5c1594b44f758da2c06c68b0717 (commit)
  from  6a189675809aa3f43534fde47e5a094464892ead (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6e06a53ebf58f41cd570d1bbaed7a1c62eac7ed0
commit 6e06a53ebf58f41cd570d1bbaed7a1c62eac7ed0
Merge: 6a18967 c3507b5
Author: Brad King 
AuthorDate: Thu Sep 15 14:16:07 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 14:16:07 2016 -0400

Merge topic 'doc-CMP0017'

c3507b54 Help: Clarify wording of include() for builtin module directories


---

Summary of changes:
 Help/command/include.rst |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.6.2-989-g6a18967

2016-09-15 Thread Brad King
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, master has been updated
   via  6a189675809aa3f43534fde47e5a094464892ead (commit)
   via  7aa97b948f854cf4797db8707969173efb786249 (commit)
   via  46ded385c00c71a932c624efdecda7283492d41d (commit)
   via  5d17e995801dd916446c232eb36f1b330106578f (commit)
   via  7c92c84302827b33ea47f7fb6ca5b2ff98451d44 (commit)
  from  010140311a0aa9336b7e2a2d22c177d445ee1c32 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6a189675809aa3f43534fde47e5a094464892ead
commit 6a189675809aa3f43534fde47e5a094464892ead
Merge: 0101403 7aa97b9
Author: Brad King 
AuthorDate: Thu Sep 15 14:16:04 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 14:16:04 2016 -0400

Merge topic 'doc-FeatureSummary'

7aa97b94 FeatureSummary: Add include() to examples
46ded385 FeatureSummary: Format documentation
5d17e995 FeatureSummary: Convert docs to a bracket comment
7c92c843 FeatureSummary: Order function implementations the same as the 
documentation


---

Summary of changes:
 Modules/FeatureSummary.cmake |  677 +-
 1 file changed, 335 insertions(+), 342 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.6.2-2085-g2471d0e

2016-09-15 Thread Brad King
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  2471d0eceab00020e76b20ed7cc06d4df0929726 (commit)
   via  c3507b54968cf5c1594b44f758da2c06c68b0717 (commit)
  from  eb8d2dca610df895a5e069b8377f425caa0a4e81 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2471d0eceab00020e76b20ed7cc06d4df0929726
commit 2471d0eceab00020e76b20ed7cc06d4df0929726
Merge: eb8d2dc c3507b5
Author: Brad King 
AuthorDate: Thu Sep 15 14:03:10 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 14:03:10 2016 -0400

Merge topic 'doc-CMP0017' into next

c3507b54 Help: Clarify wording of include() for builtin module directories


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c3507b54968cf5c1594b44f758da2c06c68b0717
commit c3507b54968cf5c1594b44f758da2c06c68b0717
Author: Brad King 
AuthorDate: Thu Sep 15 14:01:13 2016 -0400
Commit: Brad King 
CommitDate: Thu Sep 15 14:02:25 2016 -0400

Help: Clarify wording of include() for builtin module directories

Issue: #16312

diff --git a/Help/command/include.rst b/Help/command/include.rst
index c391561..eeca4c6 100644
--- a/Help/command/include.rst
+++ b/Help/command/include.rst
@@ -15,10 +15,10 @@ is present, then no error is raised if the file does not 
exist.  If
 which has been included or NOTFOUND if it failed.
 
 If a module is specified instead of a file, the file with name
-.cmake is searched first in :variable:`CMAKE_MODULE_PATH`,
+``.cmake`` is searched first in :variable:`CMAKE_MODULE_PATH`,
 then in the CMake module directory.  There is one exception to this: if
-the file which calls ``include()`` is located itself in the CMake module
-directory, then first the CMake module directory is searched and
+the file which calls ``include()`` is located itself in the CMake builtin
+module directory, then first the CMake builtin module directory is searched and
 :variable:`CMAKE_MODULE_PATH` afterwards.  See also policy :policy:`CMP0017`.
 
 See the :command:`cmake_policy` command documentation for discussion of the

---

Summary of changes:
 Help/command/include.rst |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.6.2-2083-geb8d2dc

2016-09-15 Thread Brad King
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  eb8d2dca610df895a5e069b8377f425caa0a4e81 (commit)
   via  72dfca30b94ba1e85533c61a7b5a330dfbc04da5 (commit)
  from  726c80b6cbfdc4652f23c8f335def15c70686d81 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=eb8d2dca610df895a5e069b8377f425caa0a4e81
commit eb8d2dca610df895a5e069b8377f425caa0a4e81
Merge: 726c80b 72dfca3
Author: Brad King 
AuthorDate: Thu Sep 15 13:47:49 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 13:47:49 2016 -0400

Merge topic 'detect-relink-incompat' into next

72dfca30 ninja: error out on relink requirements


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=72dfca30b94ba1e85533c61a7b5a330dfbc04da5
commit 72dfca30b94ba1e85533c61a7b5a330dfbc04da5
Author: Ben Boeckel 
AuthorDate: Tue Sep 13 11:23:19 2016 -0400
Commit: Brad King 
CommitDate: Thu Sep 15 13:44:58 2016 -0400

ninja: error out on relink requirements

Ninja does not support PRE_INSTALL_SCRIPT properties and does not
perform the relink required by installation without help from some other
mechanism, so error out if it would be required.

Issue: #13934, #16304

diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 4f8c036..1e21ac4 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -1162,7 +1162,28 @@ bool cmGeneratorTarget::NeedRelinkBeforeInstall(
   // If either a build or install tree rpath is set then the rpath
   // will likely change between the build tree and install tree and
   // this target must be relinked.
-  return this->HaveBuildTreeRPATH(config) || this->HaveInstallTreeRPATH();
+  bool have_rpath =
+this->HaveBuildTreeRPATH(config) || this->HaveInstallTreeRPATH();
+  bool is_ninja =
+this->LocalGenerator->GetGlobalGenerator()->GetName() == "Ninja";
+
+  if (have_rpath && is_ninja) {
+std::ostringstream w;
+/* clang-format off */
+w <<
+  "The install of the " << this->GetName() << " target requires "
+  "changing an RPATH from the build tree, but this is not supported "
+  "with the Ninja generator unless on an ELF-based platform.  The "
+  "CMAKE_BUILD_WITH_INSTALL_RPATH variable may be set to avoid this "
+  "relinking step."
+  ;
+/* clang-format on */
+
+cmake* cm = this->LocalGenerator->GetCMakeInstance();
+cm->IssueMessage(cmake::FATAL_ERROR, w.str(), this->GetBacktrace());
+  }
+
+  return have_rpath;
 }
 
 bool cmGeneratorTarget::IsChrpathUsed(const std::string& config) const

---

Summary of changes:
 Source/cmGeneratorTarget.cxx |   23 ++-
 1 file changed, 22 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.6.2-2081-g726c80b

2016-09-15 Thread Brad King
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  726c80b6cbfdc4652f23c8f335def15c70686d81 (commit)
   via  31be918b0b2dd445bdf85d72a8eaa29841137bc8 (commit)
  from  d1f74eb70b945fcba223b7251dc9ff028bc4e5cb (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=726c80b6cbfdc4652f23c8f335def15c70686d81
commit 726c80b6cbfdc4652f23c8f335def15c70686d81
Merge: d1f74eb 31be918
Author: Brad King 
AuthorDate: Thu Sep 15 13:40:27 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 13:40:27 2016 -0400

Merge topic 'find_package-dir-sort' into next

31be918b find_package: Optionally sort globbed directories in a meaningful 
order


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=31be918b0b2dd445bdf85d72a8eaa29841137bc8
commit 31be918b0b2dd445bdf85d72a8eaa29841137bc8
Author: Pierluigi Taddei 
AuthorDate: Thu Sep 8 20:26:59 2016 +0200
Commit: Brad King 
CommitDate: Thu Sep 15 13:35:25 2016 -0400

find_package: Optionally sort globbed directories in a meaningful order

Add `CMAKE_FIND_PACKAGE_SORT_{ORDER,DIRECTION}` variables to specify
sort order and direction.

When multiple package with the same name have been found in the same
location sorting option can be used to force a specific version to be
loaded (e.g. libA_1.12.0 instead of libA_1.1.0).  Currently sorting by
NAME and by NATURAL order have been implemented.

Natural ordering makes use of the `strverscmp(3)` ordering.

diff --git a/Help/command/find_package.rst b/Help/command/find_package.rst
index c44fe86..2cb1e5f 100644
--- a/Help/command/find_package.rst
+++ b/Help/command/find_package.rst
@@ -170,11 +170,21 @@ is acceptable the following variables are set:
 ``_VERSION_COUNT``
   number of version components, 0 to 4
 
-and the corresponding package configuration file is loaded.  When
-multiple package configuration files are available whose version files
+and the corresponding package configuration file is loaded.
+When multiple package configuration files are available whose version files
 claim compatibility with the version requested it is unspecified which
-one is chosen.  No attempt is made to choose a highest or closest
-version number.
+one is chosen: unless the variable :variable:`CMAKE_FIND_PACKAGE_SORT_ORDER`
+is set no attempt is made to choose a highest or closest version number.
+
+To control the order in which ``find_package`` checks for compatibiliy use
+the two variables :variable:`CMAKE_FIND_PACKAGE_SORT_ORDER` and
+:variable:`CMAKE_FIND_PACKAGE_SORT_DIRECTION`.
+For instance in order to select the highest version one can set::
+
+  SET(CMAKE_FIND_PACKAGE_SORT_ORDER NATURAL)
+  SET(CMAKE_FIND_PACKAGE_SORT_DIRECTION DEC)
+
+before calling ``find_package``.
 
 Config mode provides an elaborate interface and search procedure.
 Much of the interface is provided for completeness and for use
diff --git a/Help/manual/cmake-variables.7.rst 
b/Help/manual/cmake-variables.7.rst
index 74c9265..9e0efe9 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -38,6 +38,8 @@ Variables that Provide Information
/variable/CMAKE_EXTRA_GENERATOR
/variable/CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES
/variable/CMAKE_FIND_PACKAGE_NAME
+   /variable/CMAKE_FIND_PACKAGE_SORT_DIRECTION
+   /variable/CMAKE_FIND_PACKAGE_SORT_ORDER
/variable/CMAKE_GENERATOR
/variable/CMAKE_GENERATOR_PLATFORM
/variable/CMAKE_GENERATOR_TOOLSET
diff --git a/Help/release/dev/find_package-dir-sort.rst 
b/Help/release/dev/find_package-dir-sort.rst
new file mode 100644
index 000..67b93eb
--- /dev/null
+++ b/Help/release/dev/find_package-dir-sort.rst
@@ -0,0 +1,13 @@
+find_package-dir-sort
+-
+
+* The :command:`find_package` command gained the possibility of
+  sorting compatible libraries by ``NAME`` or by ``NATURAL`` sorting by
+  setting the two new variables :variable:`CMAKE_FIND_PACKAGE_SORT_ORDER`
+  and :variable:`CMAKE_FIND_PACKAGE_SORT_DIRECTION`.
+
+* Variable :variable:`CMAKE_FIND_PACKAGE_SORT_ORDER` was added to control
+  the sorting mode of the :command:`find_package` command.
+
+* Variable :variable:`CMAKE_FIND_PACKAGE_SORT_DIRECTION` was added to control
+  the sorting direction the :command:`find_package` command.
diff --git a/Help/variable/CMAKE_FIND_PACKAGE_SORT_DIRECTION.rst 
b/Help/variable/CMAKE_FIND_PACKAGE_SORT_DIRECTION.rst
new file mode 100644
index 000..99e4ec1
--- /dev/null
+++ b/Help/variable/CMAKE_FIND_PACKAGE_SORT_DIRECTION.rst
@@ -0,0 +1,16 @@
+CMAKE_FIND_PACKAGE_SORT_DIRECTION
+---

[Cmake-commits] CMake branch, next, updated. v3.6.2-2079-gd1f74eb

2016-09-15 Thread Brad King
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  d1f74eb70b945fcba223b7251dc9ff028bc4e5cb (commit)
   via  9cbd04be5fa86c2363c7c7f65b6a00969bc87d1d (commit)
  from  e2c31db68b79b9e2f4724f4fa776a872eed21f42 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d1f74eb70b945fcba223b7251dc9ff028bc4e5cb
commit d1f74eb70b945fcba223b7251dc9ff028bc4e5cb
Merge: e2c31db 9cbd04b
Author: Brad King 
AuthorDate: Thu Sep 15 11:54:05 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 11:54:05 2016 -0400

Merge topic 'ExternalProject-http-credentials' into next

9cbd04be Help: Add notes for topic 'ExternalProject-http-credentials'


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9cbd04be5fa86c2363c7c7f65b6a00969bc87d1d
commit 9cbd04be5fa86c2363c7c7f65b6a00969bc87d1d
Author: Brad King 
AuthorDate: Thu Sep 15 11:52:27 2016 -0400
Commit: Brad King 
CommitDate: Thu Sep 15 11:52:27 2016 -0400

Help: Add notes for topic 'ExternalProject-http-credentials'

diff --git a/Help/release/dev/ExternalProject-http-credentials.rst 
b/Help/release/dev/ExternalProject-http-credentials.rst
new file mode 100644
index 000..e3a362a
--- /dev/null
+++ b/Help/release/dev/ExternalProject-http-credentials.rst
@@ -0,0 +1,5 @@
+ExternalProject-http-credentials
+
+
+* The :module:`ExternalProject` module gained ``HTTP_USERNAME`` and
+  ``HTTP_PASSWORD`` options to set http download credentials.

---

Summary of changes:
 Help/release/dev/ExternalProject-http-credentials.rst |5 +
 1 file changed, 5 insertions(+)
 create mode 100644 Help/release/dev/ExternalProject-http-credentials.rst


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.6.2-2077-ge2c31db

2016-09-15 Thread Brad King
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  e2c31db68b79b9e2f4724f4fa776a872eed21f42 (commit)
   via  e1ca117332fbf6adf3a467a420804e9cb1891582 (commit)
  from  81ff6a86c9eead0a376b71947f9d7323d886fc26 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e2c31db68b79b9e2f4724f4fa776a872eed21f42
commit e2c31db68b79b9e2f4724f4fa776a872eed21f42
Merge: 81ff6a8 e1ca117
Author: Brad King 
AuthorDate: Thu Sep 15 11:51:27 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 11:51:27 2016 -0400

Merge topic 'ExternalProject-http-credentials' into next

e1ca1173 ExternalProject: Add HTTP_{USERNAME,PASSWORD}


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e1ca117332fbf6adf3a467a420804e9cb1891582
commit e1ca117332fbf6adf3a467a420804e9cb1891582
Author: Ruslan Baratov 
AuthorDate: Thu Sep 15 07:52:54 2016 +0300
Commit: Ruslan Baratov 
CommitDate: Thu Sep 15 07:52:54 2016 +0300

ExternalProject: Add HTTP_{USERNAME,PASSWORD}

diff --git a/Auxiliary/vim/syntax/cmake.vim b/Auxiliary/vim/syntax/cmake.vim
index 715676d..53681a9 100644
--- a/Auxiliary/vim/syntax/cmake.vim
+++ b/Auxiliary/vim/syntax/cmake.vim
@@ -44,7 +44,7 @@ syn keyword cmakeModule
 \ contained
 
 syn keyword cmakeKWExternalProject
-\ ALGO ALWAYS BINARY_DIR BUILD_ALWAYS BUILD_BYPRODUCTS 
BUILD_COMMAND BUILD_IN_SOURCE BYPRODUCTS CMAKE_ARGS CMAKE_CACHE_ARGS 
CMAKE_CACHE_DEFAULT_ARGS COMMAND COMMENT CONFIGURE_COMMAND CVS CVSROOT CVS_ 
CVS_MODULE CVS_REPOSITORY CVS_TAG DEPENDEES DEPENDERS DEPENDS DIRECTORY 
DOWNLOAD_COMMAND DOWNLOAD_DIR DOWNLOAD_NAME DOWNLOAD_NO_PROGRESS EP_BASE 
EP_INDEPENDENT_STEP_TARGETS EP_PREFIX EP_STEP_TARGETS EP_UPDATE_DISCONNECTED 
EXCLUDE_FROM_ALL EXCLUDE_FROM_MAIN FORCE GIT_REMOTE_NAME GIT_REPOSITORY 
GIT_SUBMODULES GIT_TAG HG_REPOSITORY HG_TAG INDEPENDENT 
INDEPENDENT_STEP_TARGETS INSTALL_COMMAND INSTALL_DIR JOB_POOLS LIST_SEPARATOR 
LOG LOG_BUILD LOG_CONFIGURE LOG_DOWNLOAD LOG_INSTALL LOG_TEST LOG_UPDATE 
NO_DEPENDS PATCH_COMMAND PREFIX PROPERTY SOURCE_DIR STAMP_DIR STEP_TARGETS SVN_ 
SVN_PASSWORD SVN_REPOSITORY SVN_REVISION SVN_TRUST_CERT SVN_USERNAME 
TEST_AFTER_INSTALL TEST_BEFORE_INSTALL TEST_COMMAND TEST_EXCLUDE_FROM_MAIN 
TIMEOUT TLS_CAINFO TLS_VERIFY TMP_DIR UPDATE_COMMAND UPDATE_
 DISCONNECTED URL URL_HASH USES_TERMINAL USES_TERMINAL_BUILD 
USES_TERMINAL_CONFIGURE USES_TERMINAL_DOWNLOAD USES_TERMINAL_INSTALL 
USES_TERMINAL_TEST USES_TERMINAL_UPDATE WORKING_DIRECTORY _COMMAND _DIR
+\ ALGO ALWAYS BINARY_DIR BUILD_ALWAYS BUILD_BYPRODUCTS 
BUILD_COMMAND BUILD_IN_SOURCE BYPRODUCTS CMAKE_ARGS CMAKE_CACHE_ARGS 
CMAKE_CACHE_DEFAULT_ARGS COMMAND COMMENT CONFIGURE_COMMAND CVS CVSROOT CVS_ 
CVS_MODULE CVS_REPOSITORY CVS_TAG DEPENDEES DEPENDERS DEPENDS DIRECTORY 
DOWNLOAD_COMMAND DOWNLOAD_DIR DOWNLOAD_NAME DOWNLOAD_NO_PROGRESS EP_BASE 
EP_INDEPENDENT_STEP_TARGETS EP_PREFIX EP_STEP_TARGETS EP_UPDATE_DISCONNECTED 
EXCLUDE_FROM_ALL EXCLUDE_FROM_MAIN FORCE GIT_REMOTE_NAME GIT_REPOSITORY 
GIT_SUBMODULES GIT_TAG HG_REPOSITORY HG_TAG INDEPENDENT 
INDEPENDENT_STEP_TARGETS INSTALL_COMMAND INSTALL_DIR JOB_POOLS LIST_SEPARATOR 
LOG LOG_BUILD LOG_CONFIGURE LOG_DOWNLOAD LOG_INSTALL LOG_TEST LOG_UPDATE 
NO_DEPENDS PATCH_COMMAND PREFIX PROPERTY SOURCE_DIR STAMP_DIR STEP_TARGETS SVN_ 
SVN_PASSWORD SVN_REPOSITORY SVN_REVISION SVN_TRUST_CERT SVN_USERNAME 
TEST_AFTER_INSTALL TEST_BEFORE_INSTALL TEST_COMMAND TEST_EXCLUDE_FROM_MAIN 
TIMEOUT TLS_CAINFO TLS_VERIFY TMP_DIR UPDATE_COMMAND UPDATE_
 DISCONNECTED URL URL_HASH HTTP_USERNAME HTTP_PASSWORD USES_TERMINAL 
USES_TERMINAL_BUILD USES_TERMINAL_CONFIGURE USES_TERMINAL_DOWNLOAD 
USES_TERMINAL_INSTALL USES_TERMINAL_TEST USES_TERMINAL_UPDATE WORKING_DIRECTORY 
_COMMAND _DIR
 \ contained
 
 syn keyword cmakeKWadd_compile_options
diff --git a/Modules/ExternalProject-download.cmake.in 
b/Modules/ExternalProject-download.cmake.in
index 91d74e0..0e82adb 100644
--- a/Modules/ExternalProject-download.cmake.in
+++ b/Modules/ExternalProject-download.cmake.in
@@ -135,6 +135,7 @@ foreach(i RANGE ${retry_number})
 @TIMEOUT_ARGS@
 STATUS status
 LOG log
+@USERPWD_ARGS@
 )
 
 list(GET status 0 status_code)
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 5ea309f..31fa459 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -75,6 +75,10 @@ Create custom targets to build projects in external trees
 Hash of file at URL
   ``URL_MD5 md5``
 Equivalent to URL_HASH MD5=md5
+  ``HTTP_USERNAME ``
+Username for download operati

[Cmake-commits] CMake branch, next, updated. v3.6.2-2075-g81ff6a8

2016-09-15 Thread Brad King
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  81ff6a86c9eead0a376b71947f9d7323d886fc26 (commit)
   via  a788cf309257ee0a9cd8cdd1ed5d4665d34a9580 (commit)
  from  a1f57bd4f9a0dd918ca46279dfb3ea03cf0437ee (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=81ff6a86c9eead0a376b71947f9d7323d886fc26
commit 81ff6a86c9eead0a376b71947f9d7323d886fc26
Merge: a1f57bd a788cf3
Author: Brad King 
AuthorDate: Thu Sep 15 11:46:51 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 11:46:51 2016 -0400

Merge topic 'file-LOCK-lowercase-test' into next

a788cf30 Tests: Add case for file(LOCK) with lower-cased path


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a788cf309257ee0a9cd8cdd1ed5d4665d34a9580
commit a788cf309257ee0a9cd8cdd1ed5d4665d34a9580
Author: Ruslan Baratov 
AuthorDate: Thu Sep 15 16:42:20 2016 +0300
Commit: Brad King 
CommitDate: Thu Sep 15 11:44:28 2016 -0400

Tests: Add case for file(LOCK) with lower-cased path

The KWSys update in commit d28e4467 (KWSys 2016-09-14 (c4049689))
fixed this case, so add it to the test suite.

Closes: #16295

diff --git a/Tests/RunCMake/file/LOCK-lowercase.cmake 
b/Tests/RunCMake/file/LOCK-lowercase.cmake
new file mode 100644
index 000..373afda
--- /dev/null
+++ b/Tests/RunCMake/file/LOCK-lowercase.cmake
@@ -0,0 +1,11 @@
+set(lock "${CMAKE_CURRENT_BINARY_DIR}/file-to-lock")
+
+if(WIN32)
+  string(TOLOWER ${lock} lock)
+endif()
+
+file(LOCK ${lock} TIMEOUT 0)
+file(LOCK ${lock} RELEASE)
+
+file(LOCK ${lock} TIMEOUT 0)
+file(LOCK ${lock} RELEASE)
diff --git a/Tests/RunCMake/file/RunCMakeTest.cmake 
b/Tests/RunCMake/file/RunCMakeTest.cmake
index d8e9ce0..799a27c 100644
--- a/Tests/RunCMake/file/RunCMakeTest.cmake
+++ b/Tests/RunCMake/file/RunCMakeTest.cmake
@@ -22,6 +22,7 @@ run_cmake(LOCK-error-no-result-variable)
 run_cmake(LOCK-error-no-timeout)
 run_cmake(LOCK-error-timeout)
 run_cmake(LOCK-error-unknown-option)
+run_cmake(LOCK-lowercase)
 run_cmake(GLOB)
 run_cmake(GLOB_RECURSE)
 # test is valid both for GLOB and GLOB_RECURSE

---

Summary of changes:
 Tests/RunCMake/file/LOCK-lowercase.cmake |   11 +++
 Tests/RunCMake/file/RunCMakeTest.cmake   |1 +
 2 files changed, 12 insertions(+)
 create mode 100644 Tests/RunCMake/file/LOCK-lowercase.cmake


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.6.2-2073-ga1f57bd

2016-09-15 Thread Brad King
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  a1f57bd4f9a0dd918ca46279dfb3ea03cf0437ee (commit)
   via  7aa97b948f854cf4797db8707969173efb786249 (commit)
   via  46ded385c00c71a932c624efdecda7283492d41d (commit)
   via  5d17e995801dd916446c232eb36f1b330106578f (commit)
   via  7c92c84302827b33ea47f7fb6ca5b2ff98451d44 (commit)
  from  75b3842f0a5c1daf5b2e37a1ed0ae50639d605fc (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a1f57bd4f9a0dd918ca46279dfb3ea03cf0437ee
commit a1f57bd4f9a0dd918ca46279dfb3ea03cf0437ee
Merge: 75b3842 7aa97b9
Author: Brad King 
AuthorDate: Thu Sep 15 11:36:30 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 11:36:30 2016 -0400

Merge topic 'doc-FeatureSummary' into next

7aa97b94 FeatureSummary: Add include() to examples
46ded385 FeatureSummary: Format documentation
5d17e995 FeatureSummary: Convert docs to a bracket comment
7c92c843 FeatureSummary: Order function implementations the same as the 
documentation


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7aa97b948f854cf4797db8707969173efb786249
commit 7aa97b948f854cf4797db8707969173efb786249
Author: Brad King 
AuthorDate: Thu Sep 15 11:34:34 2016 -0400
Commit: Brad King 
CommitDate: Thu Sep 15 11:34:34 2016 -0400

FeatureSummary: Add include() to examples

Since this module's documentation already includes complete usage
examples, make them more complete by showing the include() explicitly.

Issue: #16309

diff --git a/Modules/FeatureSummary.cmake b/Modules/FeatureSummary.cmake
index 9a60587..548d12a 100644
--- a/Modules/FeatureSummary.cmake
+++ b/Modules/FeatureSummary.cmake
@@ -196,6 +196,7 @@ endfunction()
 
   .. code-block:: cmake
 
+   include(FeatureSummary)
feature_summary(WHAT ALL
FILENAME ${CMAKE_BINARY_DIR}/all.log APPEND)
 
@@ -204,6 +205,7 @@ endfunction()
 
   .. code-block:: cmake
 
+   include(FeatureSummary)
feature_summary(WHAT ENABLED_FEATURES
INCLUDE_QUIET_PACKAGES
DESCRIPTION "Enabled Features:"

https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=46ded385c00c71a932c624efdecda7283492d41d
commit 46ded385c00c71a932c624efdecda7283492d41d
Author: Brad King 
AuthorDate: Thu Sep 15 11:33:24 2016 -0400
Commit: Brad King 
CommitDate: Thu Sep 15 11:33:24 2016 -0400

FeatureSummary: Format documentation

Revise the documentation using reStructuredText inline markup and
explicit blocks so that it formats well.

diff --git a/Modules/FeatureSummary.cmake b/Modules/FeatureSummary.cmake
index 9afdcd9..9a60587 100644
--- a/Modules/FeatureSummary.cmake
+++ b/Modules/FeatureSummary.cmake
@@ -2,19 +2,10 @@
 FeatureSummary
 --
 
-Macros for generating a summary of enabled/disabled features
+Functions for generating a summary of enabled/disabled features.
 
-
-
-This module provides the macros feature_summary(),
-set_package_properties() and add_feature_info().  For compatibility it
-also still provides set_package_info(), set_feature_info(),
-print_enabled_features() and print_disabled_features().
-
-These macros can be used to generate a summary of enabled and disabled
-packages and/or feature for a build tree:
-
-::
+These functions can be used to generate a summary of enabled and disabled
+packages and/or feature for a build tree such as::
 
 -- The following OPTIONAL packages have been found:
 LibXml2 (required version >= 2.4), XML processing lib, 
@@ -27,242 +18,9 @@ packages and/or feature for a build tree:
* Enables macros in MyWordProcessor
 Foo , Foo provides cool stuff.
 
+Functions
+^
 
-
-
-
-::
-
-FEATURE_SUMMARY( [FILENAME ]
- [APPEND]
- [VAR ]
- [INCLUDE_QUIET_PACKAGES]
- [FATAL_ON_MISSING_REQUIRED_PACKAGES]
- [DESCRIPTION "Found packages:"]
- WHAT (ALL | PACKAGES_FOUND | PACKAGES_NOT_FOUND
-  | ENABLED_FEATURES | DISABLED_FEATURES)
-   )
-
-
-
-The FEATURE_SUMMARY() macro can be used to print information about
-enabled or disabled packages or features of a project.  By default,
-only the names of the features/packages will be printed and their
-required version when one was specified.  Use SET_PACKAGE_PROPERTIES()
-to add more useful information, like e.g.  a download URL for the
-respective package or their purpose in the project.
-
-The WHAT option is the only mandatory option.  Here you specify what
-i

[Cmake-commits] CMake branch, next, updated. v3.6.2-2068-g75b3842

2016-09-15 Thread Brad King
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  75b3842f0a5c1daf5b2e37a1ed0ae50639d605fc (commit)
   via  ae783c9ba92f42ec252085e407c0b7e5d00aa59a (commit)
  from  838b4ee5b96789d03aa4621c4cb9077a0c8e83ad (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=75b3842f0a5c1daf5b2e37a1ed0ae50639d605fc
commit 75b3842f0a5c1daf5b2e37a1ed0ae50639d605fc
Merge: 838b4ee ae783c9
Author: Brad King 
AuthorDate: Thu Sep 15 09:25:19 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 09:25:19 2016 -0400

Merge topic 'require-cmake-2.8.12.2' into next

ae783c9b Require CMake 2.8.12.2 to build CMake itself


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ae783c9ba92f42ec252085e407c0b7e5d00aa59a
commit ae783c9ba92f42ec252085e407c0b7e5d00aa59a
Author: Brad King 
AuthorDate: Thu Sep 15 09:23:39 2016 -0400
Commit: Brad King 
CommitDate: Thu Sep 15 09:24:25 2016 -0400

Require CMake 2.8.12.2 to build CMake itself

This will enable use of features such as ALIAS targets within CMake's
own build.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ef2ca2..c8bd063 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,7 @@
 # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 # See the License for more information.
 #=
-cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)
+cmake_minimum_required(VERSION 2.8.12.2 FATAL_ERROR)
 if(POLICY CMP0025)
   cmake_policy(SET CMP0025 NEW)
 endif()
diff --git a/Utilities/Doxygen/CMakeLists.txt b/Utilities/Doxygen/CMakeLists.txt
index 6ebf2b4..add5326 100644
--- a/Utilities/Doxygen/CMakeLists.txt
+++ b/Utilities/Doxygen/CMakeLists.txt
@@ -12,7 +12,7 @@
 
 if(NOT CMake_SOURCE_DIR)
   set(CMakeDeveloperReference_STANDALONE 1)
-  cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)
+  cmake_minimum_required(VERSION 2.8.12.2 FATAL_ERROR)
   get_filename_component(tmp "${CMAKE_CURRENT_SOURCE_DIR}" PATH)
   get_filename_component(CMake_SOURCE_DIR "${tmp}" PATH)
   include(${CMake_SOURCE_DIR}/Modules/CTestUseLaunchers.cmake)
diff --git a/Utilities/Sphinx/CMakeLists.txt b/Utilities/Sphinx/CMakeLists.txt
index 45f79dd..be4850e 100644
--- a/Utilities/Sphinx/CMakeLists.txt
+++ b/Utilities/Sphinx/CMakeLists.txt
@@ -11,7 +11,7 @@
 #=
 if(NOT CMake_SOURCE_DIR)
   set(CMakeHelp_STANDALONE 1)
-  cmake_minimum_required(VERSION 2.8.4 FATAL_ERROR)
+  cmake_minimum_required(VERSION 2.8.12.2 FATAL_ERROR)
   get_filename_component(tmp "${CMAKE_CURRENT_SOURCE_DIR}" PATH)
   get_filename_component(CMake_SOURCE_DIR "${tmp}" PATH)
   include(${CMake_SOURCE_DIR}/Modules/CTestUseLaunchers.cmake)

---

Summary of changes:
 CMakeLists.txt   |2 +-
 Utilities/Doxygen/CMakeLists.txt |2 +-
 Utilities/Sphinx/CMakeLists.txt  |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.6.2-2066-g838b4ee

2016-09-15 Thread Brad King
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  838b4ee5b96789d03aa4621c4cb9077a0c8e83ad (commit)
   via  010140311a0aa9336b7e2a2d22c177d445ee1c32 (commit)
   via  b7dcadac44b26c50ba9e765e97c59035dd03c33f (commit)
   via  6f31436c9116b6c41928d4eab3225f0428b5d466 (commit)
   via  e0e047fe4b15addb053b56195f584ecb568a973d (commit)
   via  62a79dccc5f30e0e80904e83dada288b78d80182 (commit)
   via  0063b6b43c77741944fc2d55fbab05a0750e321b (commit)
   via  0b282335ab2dd9788d7203cc2f94d4f695d686a4 (commit)
   via  f129dc752b09fbfea70b6cfc69acdfb752d3b659 (commit)
   via  100817dc5d190ec7b8b4fe3ef822b6df9e5e7c67 (commit)
  from  036182dd9c03db921115d8baf6adafff7b2c1233 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=838b4ee5b96789d03aa4621c4cb9077a0c8e83ad
commit 838b4ee5b96789d03aa4621c4cb9077a0c8e83ad
Merge: 036182d 0101403
Author: Brad King 
AuthorDate: Thu Sep 15 08:47:00 2016 -0400
Commit: Brad King 
CommitDate: Thu Sep 15 08:47:00 2016 -0400

Merge branch 'master' into next


---

Summary of changes:
 Source/CMakeVersion.cmake |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.6.2-984-g0101403

2016-09-15 Thread Brad King
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, master has been updated
   via  010140311a0aa9336b7e2a2d22c177d445ee1c32 (commit)
   via  de1493176b936e960165d9110944636bcb9fd798 (commit)
   via  04d94fbe92535f5717bc8715fb41a2d7dcc0 (commit)
   via  d28e4467aae44db2b15a785e6f061917798cfcd4 (commit)
   via  e4fc770fa39f8433147cae4849923286e5b3511a (commit)
   via  b80d6136321fb6c2be019dec4af4b1e486389e2c (commit)
  from  b7dcadac44b26c50ba9e765e97c59035dd03c33f (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=010140311a0aa9336b7e2a2d22c177d445ee1c32
commit 010140311a0aa9336b7e2a2d22c177d445ee1c32
Merge: b7dcada de14931
Author: Brad King 
AuthorDate: Thu Sep 15 08:46:48 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 08:46:48 2016 -0400

Merge topic 'update-kwsys'

de149317 Tests: Use upper-case drive letters in 
RunCMake.get_filename_component
04d94fbe Merge branch 'upstream-KWSys' into update-kwsys
d28e4467 KWSys 2016-09-14 (c4049689)
e4fc770f Merge branch 'upstream-KWSys' into update-kwsys
b80d6136 KWSys 2016-09-14 (e736efa1)


---

Summary of changes:
 Source/kwsys/CMakeLists.txt|   20 +-
 Source/kwsys/ConsoleBuf.hxx.in |  348 +++
 Source/kwsys/SystemTools.cxx   |   70 ++-
 Source/kwsys/SystemTools.hxx.in|9 +-
 Source/kwsys/testConsoleBuf.cxx|  609 
 Source/{cmUtils.hxx => kwsys/testConsoleBuf.hxx}   |   22 +-
 Source/kwsys/testConsoleBufChild.cxx   |   61 ++
 Source/kwsys/testSystemTools.cxx   |4 +-
 .../get_filename_component/KnownComponents.cmake   |   12 +-
 9 files changed, 1098 insertions(+), 57 deletions(-)
 create mode 100644 Source/kwsys/ConsoleBuf.hxx.in
 create mode 100644 Source/kwsys/testConsoleBuf.cxx
 copy Source/{cmUtils.hxx => kwsys/testConsoleBuf.hxx} (50%)
 create mode 100644 Source/kwsys/testConsoleBufChild.cxx


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.6.2-978-gb7dcada

2016-09-15 Thread Brad King
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, master has been updated
   via  b7dcadac44b26c50ba9e765e97c59035dd03c33f (commit)
   via  884943251b16d3e34901a6533944e6b78ef8eb03 (commit)
   via  07f69bd5cc9b6b4bc040327f315620c736ec15ba (commit)
  from  6f31436c9116b6c41928d4eab3225f0428b5d466 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b7dcadac44b26c50ba9e765e97c59035dd03c33f
commit b7dcadac44b26c50ba9e765e97c59035dd03c33f
Merge: 6f31436 8849432
Author: Brad King 
AuthorDate: Thu Sep 15 08:46:45 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 08:46:45 2016 -0400

Merge topic 'add-strverscmp'

88494325 Tests: Add test for our strverscmp implementation
07f69bd5 cmSystemTools: Add strverscmp


---

Summary of changes:
 Source/cmSystemTools.cxx   |   77 
 Source/cmSystemTools.h |   10 +
 Tests/CMakeLib/testSystemTools.cxx |   72 +++--
 3 files changed, 155 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.6.2-973-ge0e047f

2016-09-15 Thread Brad King
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, master has been updated
   via  e0e047fe4b15addb053b56195f584ecb568a973d (commit)
   via  7a2e114dd8ab55bc9ef9e1106ae352d2fea558d3 (commit)
   via  00e78c19903c24bb7cc969f3b825b2502661f3c0 (commit)
   via  9d11bd50661a1fb0a079c7c17120273f21ea9a8c (commit)
   via  d97513d842c51e4fb996d42e1f04a9c291e3d5bf (commit)
  from  62a79dccc5f30e0e80904e83dada288b78d80182 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e0e047fe4b15addb053b56195f584ecb568a973d
commit e0e047fe4b15addb053b56195f584ecb568a973d
Merge: 62a79dc 7a2e114
Author: Brad King 
AuthorDate: Thu Sep 15 08:46:40 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 08:46:40 2016 -0400

Merge topic 'refactor-target-construction'

7a2e114d cmTarget: Inline SetType method at only remaining call site
00e78c19 cmTarget: Construct with basic information up front
9d11bd50 Avoid requiring default cmTarget constructor for map indexing
d97513d8 cmTarget: Add method to get a copy adapted for a directory


---

Summary of changes:
 Source/cmExportTryCompileFileGenerator.cxx |5 +-
 Source/cmGlobalGenerator.cxx   |   88 +---
 Source/cmInstallTargetsCommand.cxx |   17 +++---
 Source/cmMakefile.cxx  |   21 +++
 Source/cmTarget.cxx|   35 ++-
 Source/cmTarget.h  |   26 
 6 files changed, 114 insertions(+), 78 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.6.2-966-g0063b6b

2016-09-15 Thread Brad King
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, master has been updated
   via  0063b6b43c77741944fc2d55fbab05a0750e321b (commit)
   via  d4d0c9422695e3ba67d933566c69034ed814d9ea (commit)
  from  0b282335ab2dd9788d7203cc2f94d4f695d686a4 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0063b6b43c77741944fc2d55fbab05a0750e321b
commit 0063b6b43c77741944fc2d55fbab05a0750e321b
Merge: 0b28233 d4d0c94
Author: Brad King 
AuthorDate: Thu Sep 15 08:46:34 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 08:46:34 2016 -0400

Merge topic 'fix-ccmake-sun-gcc'

d4d0c942 ccmake: Fix recent compilation regression with GCC on Solaris


---

Summary of changes:
 Source/CursesDialog/cmCursesStandardIncludes.h |4 
 Source/CursesDialog/form/form.h|4 
 2 files changed, 8 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.6.2-968-g62a79dc

2016-09-15 Thread Brad King
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, master has been updated
   via  62a79dccc5f30e0e80904e83dada288b78d80182 (commit)
   via  cc770e7670800819231ac428b75d8fc87a229116 (commit)
  from  0063b6b43c77741944fc2d55fbab05a0750e321b (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=62a79dccc5f30e0e80904e83dada288b78d80182
commit 62a79dccc5f30e0e80904e83dada288b78d80182
Merge: 0063b6b cc770e7
Author: Brad King 
AuthorDate: Thu Sep 15 08:46:37 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 08:46:37 2016 -0400

Merge topic 'cmake-static-FindCacheFile'

cc770e76 cmake: Make FindCacheFile a static method


---

Summary of changes:
 Source/cmake.cxx |2 +-
 Source/cmake.h   |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.6.2-975-g6f31436

2016-09-15 Thread Brad King
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, master has been updated
   via  6f31436c9116b6c41928d4eab3225f0428b5d466 (commit)
   via  4ebb4ae6cfab256631dea866f787003e419fb911 (commit)
  from  e0e047fe4b15addb053b56195f584ecb568a973d (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6f31436c9116b6c41928d4eab3225f0428b5d466
commit 6f31436c9116b6c41928d4eab3225f0428b5d466
Merge: e0e047f 4ebb4ae
Author: Brad King 
AuthorDate: Thu Sep 15 08:46:42 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 08:46:42 2016 -0400

Merge topic 'extend_matlab_unit_test'

4ebb4ae6 FindMatlab: Extend matlab_add_unit_test to run arbitrary test code


---

Summary of changes:
 Modules/FindMatlab.cmake  |   51 ++---
 Modules/MatlabTestsRedirect.cmake |   41 +++--
 2 files changed, 69 insertions(+), 23 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.6.2-964-g0b28233

2016-09-15 Thread Brad King
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, master has been updated
   via  0b282335ab2dd9788d7203cc2f94d4f695d686a4 (commit)
   via  152bbe5068fc125351f728f04a14113e08f87671 (commit)
   via  a6d3f5418c4f2c1bd99272a9fac1cf4e33b1df09 (commit)
  from  f129dc752b09fbfea70b6cfc69acdfb752d3b659 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0b282335ab2dd9788d7203cc2f94d4f695d686a4
commit 0b282335ab2dd9788d7203cc2f94d4f695d686a4
Merge: f129dc7 152bbe5
Author: Brad King 
AuthorDate: Thu Sep 15 08:46:30 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 08:46:30 2016 -0400

Merge topic 'fix-CMAKE_COMPILER_IS_GNU-confusion'

152bbe50 Modules: Fix typos in name of `CMAKE_COMPILER_IS_GNUCC` variable
a6d3f541 Help: Clarify documentation of CMAKE_COMPILER_IS_GNU{CC,CXX,G77}


---

Summary of changes:
 CompileFlags.cmake  |2 +-
 Help/manual/cmake-variables.7.rst   |4 +++-
 Help/variable/CMAKE_COMPILER_IS_GNUCC.rst   |5 +
 Help/variable/CMAKE_COMPILER_IS_GNUCXX.rst  |5 +
 Help/variable/CMAKE_COMPILER_IS_GNUG77.rst  |5 +
 Help/variable/CMAKE_COMPILER_IS_GNULANG.rst |   15 ---
 Modules/GenerateExportHeader.cmake  |2 +-
 7 files changed, 20 insertions(+), 18 deletions(-)
 create mode 100644 Help/variable/CMAKE_COMPILER_IS_GNUCC.rst
 create mode 100644 Help/variable/CMAKE_COMPILER_IS_GNUCXX.rst
 create mode 100644 Help/variable/CMAKE_COMPILER_IS_GNUG77.rst
 delete mode 100644 Help/variable/CMAKE_COMPILER_IS_GNULANG.rst


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.6.2-961-gf129dc7

2016-09-15 Thread Brad King
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, master has been updated
   via  f129dc752b09fbfea70b6cfc69acdfb752d3b659 (commit)
   via  c31573b9641e0f1bc7a34149506db51f3494323b (commit)
  from  100817dc5d190ec7b8b4fe3ef822b6df9e5e7c67 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f129dc752b09fbfea70b6cfc69acdfb752d3b659
commit f129dc752b09fbfea70b6cfc69acdfb752d3b659
Merge: 100817d c31573b
Author: Brad King 
AuthorDate: Thu Sep 15 08:46:27 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 08:46:27 2016 -0400

Merge topic 'python-3.7'

c31573b9 FindPython{Interp,Libs}: Add version 3.7


---

Summary of changes:
 Modules/FindPythonInterp.cmake |2 +-
 Modules/FindPythonLibs.cmake   |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.6.2-2056-g036182d

2016-09-15 Thread Brad King
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  036182dd9c03db921115d8baf6adafff7b2c1233 (commit)
   via  de1493176b936e960165d9110944636bcb9fd798 (commit)
  from  2e27da53ac949ff3944933adb4e55b368e708b17 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=036182dd9c03db921115d8baf6adafff7b2c1233
commit 036182dd9c03db921115d8baf6adafff7b2c1233
Merge: 2e27da5 de14931
Author: Brad King 
AuthorDate: Thu Sep 15 08:41:33 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Sep 15 08:41:33 2016 -0400

Merge topic 'update-kwsys' into next

de149317 Tests: Use upper-case drive letters in 
RunCMake.get_filename_component


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=de1493176b936e960165d9110944636bcb9fd798
commit de1493176b936e960165d9110944636bcb9fd798
Author: Brad King 
AuthorDate: Thu Sep 15 08:32:43 2016 -0400
Commit: Brad King 
CommitDate: Thu Sep 15 08:39:18 2016 -0400

Tests: Use upper-case drive letters in RunCMake.get_filename_component

With the most recent KWSys update, the "actual case" operation on
Windows always upper-cases the drive letter now even for absolute paths
that do not exist.  Use an upper-case drive letter in the test so that
it can tolerate this operation on Windows and the lack of this operation
elsewhere.

diff --git a/Tests/RunCMake/get_filename_component/KnownComponents.cmake 
b/Tests/RunCMake/get_filename_component/KnownComponents.cmake
index d822258..7dfb55d 100644
--- a/Tests/RunCMake/get_filename_component/KnownComponents.cmake
+++ b/Tests/RunCMake/get_filename_component/KnownComponents.cmake
@@ -19,12 +19,12 @@ foreach(c DIRECTORY NAME EXT NAME_WE PATH)
 endforeach()
 
 # Test Windows paths with DIRECTORY component and an absolute Windows path.
-get_filename_component(test_slashes "c:\\path\\to\\filename.ext.in" DIRECTORY)
-check("DIRECTORY from backslashes" "${test_slashes}" "c:/path/to")
+get_filename_component(test_slashes "C:\\path\\to\\filename.ext.in" DIRECTORY)
+check("DIRECTORY from backslashes" "${test_slashes}" "C:/path/to")
 list(APPEND non_cache_vars test_slashes)
 
-get_filename_component(test_winroot "c:\\filename.ext.in" DIRECTORY)
-check("DIRECTORY in windows root" "${test_winroot}" "c:/")
+get_filename_component(test_winroot "C:\\filename.ext.in" DIRECTORY)
+check("DIRECTORY in windows root" "${test_winroot}" "C:/")
 list(APPEND non_cache_vars test_winroot)
 
 # Test finding absolute paths.
@@ -33,8 +33,8 @@ check("ABSOLUTE" "${test_absolute}" 
"/path/to/filename.ext.in")
 
 get_filename_component(test_absolute "/../path/to/filename.ext.in" ABSOLUTE)
 check("ABSOLUTE .. in root" "${test_absolute}" "/path/to/filename.ext.in")
-get_filename_component(test_absolute "c:/../path/to/filename.ext.in" ABSOLUTE)
-check("ABSOLUTE .. in windows root" "${test_absolute}" 
"c:/path/to/filename.ext.in")
+get_filename_component(test_absolute "C:/../path/to/filename.ext.in" ABSOLUTE)
+check("ABSOLUTE .. in windows root" "${test_absolute}" 
"C:/path/to/filename.ext.in")
 
 list(APPEND non_cache_vars test_absolute)
 

---

Summary of changes:
 .../RunCMake/get_filename_component/KnownComponents.cmake  |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits