[Cmake-commits] CMake branch, master, updated. v3.15.0-462-g7feece6
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 7feece688d6115601937f4bde7727df70ebea15b (commit) from 579e27ec97101d36d0f42d47bd7aa9c753b15be0 (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=7feece688d6115601937f4bde7727df70ebea15b commit 7feece688d6115601937f4bde7727df70ebea15b Author: Kitware Robot AuthorDate: Fri Jul 26 00:01:24 2019 -0400 Commit: Kitware Robot CommitDate: Fri Jul 26 00:01:24 2019 -0400 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 6a1d61f..942ead0 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 15) -set(CMake_VERSION_PATCH 20190725) +set(CMake_VERSION_PATCH 20190726) set(CMake_VERSION_RC 0) --- 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 https://cmake.org/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, master, updated. v3.15.0-461-g579e27e
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 579e27ec97101d36d0f42d47bd7aa9c753b15be0 (commit) via 7b354baad55454e8ef441b0f8e195b93d5caa974 (commit) from a1c6d7e9af5a241b1afa29b3f7459ee9ee4ec77a (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=579e27ec97101d36d0f42d47bd7aa9c753b15be0 commit 579e27ec97101d36d0f42d47bd7aa9c753b15be0 Merge: a1c6d7e 7b354ba Author: Brad King AuthorDate: Thu Jul 25 13:26:45 2019 + Commit: Kitware Robot CommitDate: Thu Jul 25 09:26:55 2019 -0400 Merge topic 'cmake-version-rc' 7b354baad5 CMakeVersion: Set CMake_VERSION_RC to 0 even in non-rc versions Acked-by: Kitware Robot Merge-request: !3603 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7b354baad55454e8ef441b0f8e195b93d5caa974 commit 7b354baad55454e8ef441b0f8e195b93d5caa974 Author: Brad King AuthorDate: Thu Jul 25 08:04:24 2019 -0400 Commit: Brad King CommitDate: Thu Jul 25 09:23:48 2019 -0400 CMakeVersion: Set CMake_VERSION_RC to 0 even in non-rc versions The logic that uses this value already ignores any "false" value, so `0` is just as good as not being set at all. Using `0` for this role makes the version components look more symmetric and reduces the number of edits needed when creating releases. diff --git a/Help/dev/maint.rst b/Help/dev/maint.rst index 1153a09..a1732c8 100644 --- a/Help/dev/maint.rst +++ b/Help/dev/maint.rst @@ -217,7 +217,7 @@ note infrastructure and the version date from ``origin/master``: sed -i $'/^Releases/ i\\\n.. include:: dev.txt\\\n' Help/release/index.rst Update ``Source/CMakeVersion.cmake`` to set the version to -``$major.$minor.$date``: +``$major.$minor.$date`` (and RC ``0`` to disable the suffix): .. code-block:: cmake @@ -225,7 +225,7 @@ Update ``Source/CMakeVersion.cmake`` to set the version to set(CMake_VERSION_MAJOR $major) set(CMake_VERSION_MINOR $minor) set(CMake_VERSION_PATCH $date) - #set(CMake_VERSION_RC 1) + set(CMake_VERSION_RC 0) Commit with a message such as:: diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index f4875fb..6a1d61f 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,4 +2,4 @@ set(CMake_VERSION_MAJOR 3) set(CMake_VERSION_MINOR 15) set(CMake_VERSION_PATCH 20190725) -#set(CMake_VERSION_RC 1) +set(CMake_VERSION_RC 0) --- Summary of changes: Help/dev/maint.rst| 4 ++-- Source/CMakeVersion.cmake | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org https://cmake.org/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, master, updated. v3.15.0-459-ga1c6d7e
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 a1c6d7e9af5a241b1afa29b3f7459ee9ee4ec77a (commit) via 070a5e3835b11f76cc8ed8c4a2191295caf8069b (commit) via 420073e53622bd344c9525bce4778ed6aed6276d (commit) from 9111590acadbfa662053c7878ae95efa46bbfb36 (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=a1c6d7e9af5a241b1afa29b3f7459ee9ee4ec77a commit a1c6d7e9af5a241b1afa29b3f7459ee9ee4ec77a Merge: 9111590 070a5e3 Author: Brad King AuthorDate: Thu Jul 25 07:27:14 2019 -0400 Commit: Brad King CommitDate: Thu Jul 25 07:27:14 2019 -0400 Merge branch 'release-3.15' --- Summary of changes: hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org https://cmake.org/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, release, updated. v3.15.0-24-g070a5e3
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, release has been updated via 070a5e3835b11f76cc8ed8c4a2191295caf8069b (commit) via d46bac5d38320907cc1f11a223fddd9a11c9b184 (commit) via 420073e53622bd344c9525bce4778ed6aed6276d (commit) via 4f15a6a5c200be8235c3e38390aba438186e7f19 (commit) via d50b31be35ed113a41f3944179f8e4a362018f86 (commit) from 07b93cb1850fa8365c42c4f9e671a423689b3d0a (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 - --- Summary of changes: Modules/Compiler/Clang-CXX.cmake| 7 +++ Source/kwsys/SystemTools.cxx| 7 ++- Source/kwsys/testSystemTools.cxx| 8 ++-- Tests/AliasTarget/CMakeLists.txt| 2 +- Tests/Complex/CMakeLists.txt| 5 - Tests/ComplexOneConfig/CMakeLists.txt | 5 - .../Module/WriteCompilerDetectionHeader/CMakeLists.txt | 4 +--- Tests/Plugin/CMakeLists.txt | 17 ++--- Tests/RunCMake/BuildDepends/BuildUnderSource.c | 5 + Tests/RunCMake/BuildDepends/BuildUnderSource.cmake | 9 + .../RunCMake/BuildDepends/BuildUnderSource.step1.cmake | 3 +++ .../RunCMake/BuildDepends/BuildUnderSource.step2.cmake | 3 +++ Tests/RunCMake/BuildDepends/RunCMakeTest.cmake | 16 +++- Tests/RunCMake/GenerateExportHeader/GEH.cmake | 5 - Tests/Tutorial/Complete/CMakeLists.txt | 3 ++- Tests/Tutorial/Consumer/CMakeLists.txt | 3 ++- Tests/Tutorial/Step10/CMakeLists.txt| 3 ++- Tests/Tutorial/Step11/CMakeLists.txt| 3 ++- Tests/Tutorial/Step2/CMakeLists.txt | 4 +++- Tests/Tutorial/Step2/directions.txt | 3 ++- Tests/Tutorial/Step3/CMakeLists.txt | 3 ++- Tests/Tutorial/Step4/CMakeLists.txt | 3 ++- Tests/Tutorial/Step5/CMakeLists.txt | 3 ++- Tests/Tutorial/Step6/CMakeLists.txt | 3 ++- Tests/Tutorial/Step7/CMakeLists.txt | 3 ++- Tests/Tutorial/Step8/CMakeLists.txt | 3 ++- Tests/Tutorial/Step9/CMakeLists.txt | 3 ++- 27 files changed, 89 insertions(+), 47 deletions(-) create mode 100644 Tests/RunCMake/BuildDepends/BuildUnderSource.c create mode 100644 Tests/RunCMake/BuildDepends/BuildUnderSource.cmake create mode 100644 Tests/RunCMake/BuildDepends/BuildUnderSource.step1.cmake create mode 100644 Tests/RunCMake/BuildDepends/BuildUnderSource.step2.cmake hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org https://cmake.org/mailman/listinfo/cmake-commits
[Cmake-commits] CMake branch, master, updated. v3.15.0-456-g9111590
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 9111590acadbfa662053c7878ae95efa46bbfb36 (commit) via c173ed118429a885947907d2e23a9895a60b839a (commit) via 6e0d92cc53fae3f83cacc8c528ea601562fa1753 (commit) via d46bac5d38320907cc1f11a223fddd9a11c9b184 (commit) via a4657ef670962be794d07d1d323c230995ed5593 (commit) via 161b33f12b9a225607a4ea8339eabd4875bebbfe (commit) via 4f15a6a5c200be8235c3e38390aba438186e7f19 (commit) via 5cfc39127e4b9e20d9fdfca885b38272909c5694 (commit) via d50b31be35ed113a41f3944179f8e4a362018f86 (commit) via 3391a3eca821ec9e2844af60835e6f2ab722ceed (commit) from 00be1957da52acac2988e4702f4f8e95fbf170dd (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=9111590acadbfa662053c7878ae95efa46bbfb36 commit 9111590acadbfa662053c7878ae95efa46bbfb36 Merge: c173ed1 3391a3e Author: Brad King AuthorDate: Thu Jul 25 11:21:06 2019 + Commit: Kitware Robot CommitDate: Thu Jul 25 07:21:18 2019 -0400 Merge topic 'ninja-swift-map-file-path' 3391a3eca8 Ninja: do not normalise swift support file paths Acked-by: Kitware Robot Merge-request: !3597 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c173ed118429a885947907d2e23a9895a60b839a commit c173ed118429a885947907d2e23a9895a60b839a Merge: 6e0d92c d46bac5 Author: Brad King AuthorDate: Thu Jul 25 11:20:00 2019 + Commit: Kitware Robot CommitDate: Thu Jul 25 07:20:09 2019 -0400 Merge topic 'makefile-depend-relative-include' d46bac5d38 Makefile: Fix regression in dependencies on relative includes Acked-by: Kitware Robot Merge-request: !3599 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6e0d92cc53fae3f83cacc8c528ea601562fa1753 commit 6e0d92cc53fae3f83cacc8c528ea601562fa1753 Merge: 00be195 a4657ef Author: Brad King AuthorDate: Thu Jul 25 11:17:11 2019 + Commit: Kitware Robot CommitDate: Thu Jul 25 07:17:22 2019 -0400 Merge topic 'clang-gnulike-support' a4657ef670 Merge branch 'backport-clang-gnulike-support' into clang-gnulike-support 161b33f12b Help/guide/tutorial: Revert "require C++14 for the Tutorial" 4f15a6a5c2 Tests: Revert "require C++14 for the Tutorial" 5cfc39127e Merge branch 'backport-clang-gnulike-support' into clang-gnulike-support d50b31be35 Clang: For MSVC ABI do not use modes older than C++14 Acked-by: Kitware Robot Merge-request: !3592 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d46bac5d38320907cc1f11a223fddd9a11c9b184 commit d46bac5d38320907cc1f11a223fddd9a11c9b184 Author: Brad King AuthorDate: Wed Jul 24 09:53:53 2019 -0400 Commit: Brad King CommitDate: Wed Jul 24 11:37:31 2019 -0400 Makefile: Fix regression in dependencies on relative includes Since commit a13a5c948e (Replace use of CollapseCombinedPath with CollapseFullPath, 2019-03-19, v3.15.0-rc1~361^2~1), one code path now calls `CollapseFullPath` with a base path that may be relative. Backport KWSys commit c6f8e24a3 (SystemTools: Fix CollapseFullPath with relative base path, 2019-07-24) to handle such base paths. This case occurs when a build tree is placed in a directory inside a source tree such that CMake is willing to generate a relative path from the build tree to the source tree. Add a test covering this case. Fixes: #19507 diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 2135913..ae7a18a 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -3394,8 +3394,13 @@ static void SystemToolsAppendComponents( static const std::string cur = "."; for (std::vector::const_iterator i = first; i != last; ++i) { if (*i == up) { - if (out_components.size() > 1) { + // Remove the previous component if possible. Ignore ../ components + // that try to go above the root. Keep ../ components if they are + // at the beginning of a relative path (base path is relative). + if (out_components.size() > 1 && out_components.back() != up) { out_components.resize(out_components.size() - 1); + } else if (!out_components.empty() && out_components[0].empty()) { +out_components.emplace_back(std::move(*i)); } } else if (!i->empty() && *i != cur) { #if __cplusplus >= 201103L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201103L) diff --git a/Source/kwsys/testSystemTools.cxx b/Source/kwsys/testSystemTools.cxx index 9a40b53..ffa6a29 100644 --- a/Source/kwsys/testSystemTools.cxx +++ b/Source/kwsy