[Cmake-commits] CMake branch, master, updated. v3.15.1-474-g38894b4

2019-07-26 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  38894b43ef87ba0f5848e7119be5d59269f63885 (commit)
  from  fdc9fadef5d585a74c0ee80e0b376d20ea19f835 (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=38894b43ef87ba0f5848e7119be5d59269f63885
commit 38894b43ef87ba0f5848e7119be5d59269f63885
Author: Kitware Robot 
AuthorDate: Sat Jul 27 00:01:13 2019 -0400
Commit: Kitware Robot 
CommitDate: Sat Jul 27 00:01:13 2019 -0400

CMake Nightly Date Stamp

diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index ea3b43a..5ee7192 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 20190726)
+set(CMake_VERSION_PATCH 20190727)
 #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.1-473-gfdc9fad

2019-07-26 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  fdc9fadef5d585a74c0ee80e0b376d20ea19f835 (commit)
   via  4542ec239a3ff46d133267b5492ae4c64d163844 (commit)
  from  8ce189720ee8daafed4848ee9eb970f9e0546578 (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=fdc9fadef5d585a74c0ee80e0b376d20ea19f835
commit fdc9fadef5d585a74c0ee80e0b376d20ea19f835
Merge: 8ce1897 4542ec2
Author: Craig Scott 
AuthorDate: Fri Jul 26 22:57:46 2019 +
Commit: Kitware Robot 
CommitDate: Fri Jul 26 18:57:59 2019 -0400

Merge topic 'doc-maint-create-release'

4542ec239a Help/dev: Add release commit instructions to maintainer guide

Acked-by: Kitware Robot 
Merge-request: !3604


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4542ec239a3ff46d133267b5492ae4c64d163844
commit 4542ec239a3ff46d133267b5492ae4c64d163844
Author: Brad King 
AuthorDate: Fri Jul 26 12:31:05 2019 -0400
Commit: Brad King 
CommitDate: Fri Jul 26 14:34:09 2019 -0400

Help/dev: Add release commit instructions to maintainer guide

diff --git a/Help/dev/maint.rst b/Help/dev/maint.rst
index 75a1d68..37a1d3a 100644
--- a/Help/dev/maint.rst
+++ b/Help/dev/maint.rst
@@ -92,6 +92,45 @@ Publish both ``master`` and ``release`` simultaneously:
 .. _`CMake Review Process`: review.rst
 .. _`CMake CDash Page`: https://open.cdash.org/index.php?project=CMake
 
+Create Release Version
+==
+
+When the ``release`` branch is ready to create a new release, follow the
+steps in the above `Maintain Current Release`_ section to checkout a local
+``release-$ver`` branch, where ``$ver`` is the version number of the
+current release in the form ``$major.$minor``.
+
+Edit ``Source/CMakeVersion.cmake`` to set the full version:
+
+.. code-block:: cmake
+
+  # CMake version number components.
+  set(CMake_VERSION_MAJOR $major)
+  set(CMake_VERSION_MINOR $minor)
+  set(CMake_VERSION_PATCH $patch)
+  #set(CMake_VERSION_RC $rc) # uncomment for release candidates
+
+In the following we use the placeholder ``$fullver`` for the full version
+number of the new release with the form ``$major.$minor.$patch[-rc$rc]``.
+If the version is not a release candidate, comment out the RC version
+component above and leave off the ``-rc$rc`` suffix from ``$fullver``.
+
+Commit the release version with the **exact** message ``CMake $fullver``:
+
+.. code-block:: shell
+
+  git commit -m "CMake $fullver"
+
+Tag the release using an annotated tag with the same message as the
+commit and named with the **exact** form ``v$fullver``:
+
+.. code-block:: shell
+
+  git tag -s -m "CMake $fullver" "v$fullver"
+
+Follow the steps in the above `Maintain Current Release`_ section to
+merge the ``release-$ver`` branch into ``master`` and publish both.
+
 Branch a New Release
 
 

---

Summary of changes:
 Help/dev/maint.rst | 39 +++
 1 file changed, 39 insertions(+)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
https://cmake.org/mailman/listinfo/cmake-commits


[cmake-developers] [ANNOUNCE] CMake 3.15.1 available for download

2019-07-26 Thread Robert Maynard
We are pleased to announce that CMake 3.15.1 is now available for download.

Please use the latest release from our download page:
  https://cmake.org/download/

Thanks for your support!

-
Changes in 3.15.1 since 3.15.0:

Betsy McPhail (1):
  CTest: Generate Done.xml before calculating its hash

Brad King (7):
  VS: Place intermediate files in the "ASM List Location" next to objects
  MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not set
  Clang: For MSVC ABI do not use modes older than C++14
  Tests: Revert "require C++14 for the Tutorial"
  Makefile: Fix regression in dependencies on relative includes
  Help: Add 3.15.1 release notes
  CMake 3.15.1

James Butler (2):
  IRSL: Fix typo in v143 toolset version check
  IRSL: Fix discovery of VS 2019 v141 toolset redistributables

Marc Chevrier (1):
  FindPython: ensure interpreter is founded when cross-compiling

Marek Antoniak (1):
  Fix allocation in CROSSCOMPILING_EMULATOR evaluation

Robert Maynard (2):
  FindMPI: Updated to use INTERFACE_LINK_OPTIONS
  FindMPI: make sure computed link flags are not de-duplicated

Saleem Abdulrasool (5):
  Support per-language library link flags
  Swift: Add library search paths for dependencies
  Swift: add rules for static linking
  Swift: support multithreaded compilation
  Swift: support SONAME on ELFish targets
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers


[CMake] [ANNOUNCE] CMake 3.15.1 available for download

2019-07-26 Thread Robert Maynard
We are pleased to announce that CMake 3.15.1 is now available for download.

Please use the latest release from our download page:
  https://cmake.org/download/

Thanks for your support!

-
Changes in 3.15.1 since 3.15.0:

Betsy McPhail (1):
  CTest: Generate Done.xml before calculating its hash

Brad King (7):
  VS: Place intermediate files in the "ASM List Location" next to objects
  MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not set
  Clang: For MSVC ABI do not use modes older than C++14
  Tests: Revert "require C++14 for the Tutorial"
  Makefile: Fix regression in dependencies on relative includes
  Help: Add 3.15.1 release notes
  CMake 3.15.1

James Butler (2):
  IRSL: Fix typo in v143 toolset version check
  IRSL: Fix discovery of VS 2019 v141 toolset redistributables

Marc Chevrier (1):
  FindPython: ensure interpreter is founded when cross-compiling

Marek Antoniak (1):
  Fix allocation in CROSSCOMPILING_EMULATOR evaluation

Robert Maynard (2):
  FindMPI: Updated to use INTERFACE_LINK_OPTIONS
  FindMPI: make sure computed link flags are not de-duplicated

Saleem Abdulrasool (5):
  Support per-language library link flags
  Swift: Add library search paths for dependencies
  Swift: add rules for static linking
  Swift: support multithreaded compilation
  Swift: support SONAME on ELFish targets
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[Cmake-commits] CMake branch, master, updated. v3.15.1-471-g8ce1897

2019-07-26 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  8ce189720ee8daafed4848ee9eb970f9e0546578 (commit)
   via  eb5ea5a505378e02df4d7e142d174b8917a3ef14 (commit)
  from  8fd481a899b651150d317cdfe448cbf628933e4d (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=8ce189720ee8daafed4848ee9eb970f9e0546578
commit 8ce189720ee8daafed4848ee9eb970f9e0546578
Merge: 8fd481a eb5ea5a
Author: Brad King 
AuthorDate: Fri Jul 26 16:19:15 2019 +
Commit: Kitware Robot 
CommitDate: Fri Jul 26 12:19:25 2019 -0400

Merge topic 'cmake-version-rc'

eb5ea5a505 CMakeVersion: Use '-rc0' version suffix on release branches 
prior to rc1

Acked-by: Kitware Robot 
Merge-request: !3609


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=eb5ea5a505378e02df4d7e142d174b8917a3ef14
commit eb5ea5a505378e02df4d7e142d174b8917a3ef14
Author: Brad King 
AuthorDate: Fri Jul 26 08:04:58 2019 -0400
Commit: Brad King 
CommitDate: Fri Jul 26 08:08:30 2019 -0400

CMakeVersion: Use '-rc0' version suffix on release branches prior to rc1

Revert the change from commit 7b354baad5 (CMakeVersion: Set
CMake_VERSION_RC to 0 even in non-rc versions, 2019-07-25) and instead
define a `0` value in `CMake_VERSION_RC` to mean `-rc0`.  This
distinguishes release branch versions prior to the first release
candidate from the first release candidate itself.  It also makes room
for a dedicated "CMake $major.$minor.0-rc1" release commit for `-rc1` as
we have for later release candidates and final releases.

diff --git a/Help/dev/maint.rst b/Help/dev/maint.rst
index a1732c8..75a1d68 100644
--- a/Help/dev/maint.rst
+++ b/Help/dev/maint.rst
@@ -178,7 +178,7 @@ Commit with a message such as::
   the CMake Release Notes index page.
 
 Update ``Source/CMakeVersion.cmake`` to set the version to
-``$major.$minor.0-rc1``:
+``$major.$minor.0-rc0``:
 
 .. code-block:: cmake
 
@@ -186,7 +186,7 @@ Update ``Source/CMakeVersion.cmake`` to set the version to
   set(CMake_VERSION_MAJOR $major)
   set(CMake_VERSION_MINOR $minor)
   set(CMake_VERSION_PATCH 0)
-  set(CMake_VERSION_RC 1)
+  set(CMake_VERSION_RC 0)
 
 Update uses of ``DEVEL_CMAKE_VERSION`` in the source tree to mention the
 actual version number:
@@ -197,7 +197,7 @@ actual version number:
 
 Commit with a message such as::
 
-  CMake $major.$minor.0-rc1 version update
+  Begin $ver release versioning
 
 Merge the ``release-$ver`` branch to ``master``:
 
@@ -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`` (and RC ``0`` to disable the suffix):
+``$major.$minor.$date``:
 
 .. 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 0)
+  #set(CMake_VERSION_RC 0)
 
 Commit with a message such as::
 
diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index 942ead0..ea3b43a 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 20190726)
-set(CMake_VERSION_RC 0)
+#set(CMake_VERSION_RC 0)
diff --git a/Source/CMakeVersionCompute.cmake b/Source/CMakeVersionCompute.cmake
index 72a5800..160f470 100644
--- a/Source/CMakeVersionCompute.cmake
+++ b/Source/CMakeVersionCompute.cmake
@@ -16,7 +16,7 @@ endif()
 set(CMake_VERSION 
${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}.${CMake_VERSION_PATCH})
 if(CMake_VERSION_SOURCE)
   set(CMake_VERSION_SUFFIX "${CMake_VERSION_SOURCE}")
-elseif(CMake_VERSION_RC)
+elseif(DEFINED CMake_VERSION_RC)
   set(CMake_VERSION_SUFFIX "rc${CMake_VERSION_RC}")
 else()
   set(CMake_VERSION_SUFFIX "")

---

Summary of changes:
 Help/dev/maint.rst   | 10 +-
 Source/CMakeVersion.cmake|  2 +-
 Source/CMakeVersionCompute.cmake |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
https://cmake.org/mailman/listinfo/cmake-commits


Re: [CMake] FindZLIB doesn't work for PGI compiler

2019-07-26 Thread Chuck Atkins
Hi Sanu,
We test pgi pretty heavily so it should work okay.  Can you show the output
failure you get when trying to configure?

- Chuck

On Tue, Jul 23, 2019, 1:21 AM 李 三乎  wrote:

> Dear CMake Community,
>
> I’m here to report an error occurred when using PGI compiler. The readme
> for CMake asks me to ask question first in the mailing list, and here I am.
>
> I’ve installed zlib1g-dev to my system, but CMake cannot find the zlib
> library for me. Then I tested it on a singularity ubuntu image ( similar to
> docker image ), with the following settings:
>
> Ubuntu 19.04 amd64
> PGI compiler community edition 19.04
> CMake 3.14
>
> CMakeLists.txt
> ```
> project( none C CXX)
> find_package( ZLIB REQUIRED )
> ```
>
> If I use gcc or clang, it would create the makefile successfully, but when
> I use PGI compiler (pgcc, pgc++), it would report not able to find zlib. I
> think there might be some problem with the FindZLIB.cmake file but I
> couldn’t find out where is the problem.
>
> Also, when using CLion configured with PGI compiler, there would be a lot
> of error messages ( although we can still build the project ), the error
> messages are really annoying. I feel it’s because the support for PGI
> compiler is still not perfect yet. Really wish CMake would like to add more
> support for this compiler.
>
> Thank you very much for reading. Have a great day!
>
> —
> Sanhu Li
>
> via Newton Mail
> 
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> https://cmake.org/mailman/listinfo/cmake
>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[Cmake-commits] CMake branch, master, updated. v3.15.1-469-g8fd481a

2019-07-26 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  8fd481a899b651150d317cdfe448cbf628933e4d (commit)
   via  618bd463ad853da9cd4594bc1ff08fb272a7450d (commit)
   via  bd2793b6e90c9c990a3cd4db260503e19e9a8ae0 (commit)
   via  f08dcbffecd45889d8aeabdfa504ee76ef54e351 (commit)
   via  d6be117ca06154bdf9f0b72c6159a496da1646f7 (commit)
  from  af3278af3612e9bc0599617767047eaeb186c998 (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=8fd481a899b651150d317cdfe448cbf628933e4d
commit 8fd481a899b651150d317cdfe448cbf628933e4d
Merge: 618bd46 d6be117
Author: Kyle Edwards 
AuthorDate: Fri Jul 26 16:02:15 2019 +
Commit: Kitware Robot 
CommitDate: Fri Jul 26 12:02:34 2019 -0400

Merge topic 'ep_support_no_submodule_init'

d6be117ca0 ExternalProject: Support not initializing any submodules

Acked-by: Kitware Robot 
Merge-request: !3579


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=618bd463ad853da9cd4594bc1ff08fb272a7450d
commit 618bd463ad853da9cd4594bc1ff08fb272a7450d
Merge: af3278a bd2793b
Author: Kyle Edwards 
AuthorDate: Fri Jul 26 16:01:15 2019 +
Commit: Kitware Robot 
CommitDate: Fri Jul 26 12:01:27 2019 -0400

Merge topic 'remove_compiler_rpath'

bd2793b6e9 Help: Add documentation for INSTALL_REMOVE_ENVIROMENT_RPATH
f08dcbffec Property: Add INSTALL_REMOVE_ENVIROMENT_RPATH property

Acked-by: Kitware Robot 
Merge-request: !3544


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bd2793b6e90c9c990a3cd4db260503e19e9a8ae0
commit bd2793b6e90c9c990a3cd4db260503e19e9a8ae0
Author: Jiang Yue 
AuthorDate: Wed Jul 24 10:38:07 2019 +0800
Commit: Kyle Edwards 
CommitDate: Thu Jul 25 12:30:24 2019 -0400

Help: Add documentation for INSTALL_REMOVE_ENVIROMENT_RPATH

diff --git a/Help/manual/cmake-properties.7.rst 
b/Help/manual/cmake-properties.7.rst
index ae4be3e..62d23c7 100644
--- a/Help/manual/cmake-properties.7.rst
+++ b/Help/manual/cmake-properties.7.rst
@@ -228,6 +228,7 @@ Properties on Targets
/prop_tgt/IMPORT_SUFFIX
/prop_tgt/INCLUDE_DIRECTORIES
/prop_tgt/INSTALL_NAME_DIR
+   /prop_tgt/INSTALL_REMOVE_ENVIRONMENT_RPATH
/prop_tgt/INSTALL_RPATH
/prop_tgt/INSTALL_RPATH_USE_LINK_PATH
/prop_tgt/INTERFACE_AUTOUIC_OPTIONS
diff --git a/Help/manual/cmake-variables.7.rst 
b/Help/manual/cmake-variables.7.rst
index c3f6f8a..432d7fc 100644
--- a/Help/manual/cmake-variables.7.rst
+++ b/Help/manual/cmake-variables.7.rst
@@ -372,6 +372,7 @@ Variables that Control the Build
/variable/CMAKE_INCLUDE_CURRENT_DIR
/variable/CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE
/variable/CMAKE_INSTALL_NAME_DIR
+   /variable/CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH
/variable/CMAKE_INSTALL_RPATH
/variable/CMAKE_INSTALL_RPATH_USE_LINK_PATH
/variable/CMAKE_INTERPROCEDURAL_OPTIMIZATION
diff --git a/Help/prop_tgt/INSTALL_REMOVE_ENVIRONMENT_RPATH.rst 
b/Help/prop_tgt/INSTALL_REMOVE_ENVIRONMENT_RPATH.rst
new file mode 100644
index 000..a474fc6
--- /dev/null
+++ b/Help/prop_tgt/INSTALL_REMOVE_ENVIRONMENT_RPATH.rst
@@ -0,0 +1,10 @@
+INSTALL_REMOVE_ENVIRONMENT_RPATH
+
+
+Removes compiler defined rpaths durimg installation.
+
+``INSTALL_REMOVE_ENVIRONMENT_RPATH`` is a boolean that if set to ``True`` will
+remove compiler defined rpaths from the project if the user also defines rpath
+with :prop_tgt:`INSTALL_RPATH`.  This property is initialized by whether the
+value of :variable:`CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH` is set when a
+target is created.
diff --git a/Help/release/dev/add-install-remove-environment-rpath.rst 
b/Help/release/dev/add-install-remove-environment-rpath.rst
new file mode 100644
index 000..156106c
--- /dev/null
+++ b/Help/release/dev/add-install-remove-environment-rpath.rst
@@ -0,0 +1,6 @@
+add-install-remove-environment-rpath
+
+
+* A new target property, :prop_tgt:`INSTALL_REMOVE_ENVIRONMENT_RPATH`, was
+  added which removes compiler-defined rpaths from a target. This property is
+  initialized by :variable:`CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH`.
diff --git a/Help/variable/CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH.rst 
b/Help/variable/CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH.rst
new file mode 100644
index 000..19ae5f3
--- /dev/null
+++ b/Help/variable/CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH.rst
@@ -0,0 +1,9 @@
+CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH
+--
+
+Removes compiler defined rpaths durimg installation.
+
+``CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH`` is a boolean that if set 

[Cmake-commits] CMake annotated tag, v3.15.1, created. v3.15.1

2019-07-26 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 annotated tag, v3.15.1 has been created
at  3853bc4dc445525627cdcfdd892ac8355764a11b (tag)
   tagging  f43a7d76c737c5bb9b903a2b1be5186c081ec21e (commit)
  replaces  v3.15.0
 tagged by  Brad King
on  Fri Jul 26 09:40:01 2019 -0400

- Log -
CMake 3.15.1
-BEGIN PGP SIGNATURE-

iQJKBAABCgA0FiEExsJlMku+vcNQtRPQLSzvEDSSFoQFAl07ArEWHGJyYWQua2lu
Z0BraXR3YXJlLmNvbQAKCRAtLO8QNJIWhOvZEACCOcpdwpPrxhFhecDtIG2I1xsn
NBQqO0Wjd2KGagLh9Kak+qtL4q4VsAuZCvGWNjPXSBSV/OrXNYlqZdC0hfdJLePl
X8UXrZUo6NAwJ/PhJoIdaMpi7ACWS5apmPo3kJzFB7UPF7p2HYfqgSo6eaJJMF5L
3DkRum5NTibKWtHrCMlU2+IJSOklnhjdRSRnccFlatnKaVwN02v3TH2GGcD+fcV5
QKM1S6kbJYDjzHaJWdL222tvZvLaH5otvduPvT/tKB8MJEKzWG5z2E0NWRAuZ8wY
hE9fTNbuHb9z18/N3MZJC1qlkPqjxrt5ENc3Rdlc9yA9Y/9ZIUHA+CDmlMN+Cc/g
njSfe+qD9gksD8ZSKI4zd/eUam22DF53Z3/lJ+x6DA/eSzICDAdmMwkk0Y9rdQLY
a41biJlbw8nkNoT74yPxoXta/rm72+TlAVg1qQVv1xC8XwrzJi0vvei8zPq7Tcl7
eaQX9R6MswDmes9MHeJt0A6ZzLLAbBE022HmkxA76obaz9gtbf1usfUoaVpvXzd5
fpXiL9InJQ2V8/EaBNy32A1tJ4w+EmI03Xhkd+exsEvfCtUJsxsKbpByZNV4lgC4
Nkx6Qe6BdKl9EdLIGtf2TgxaXb2XuTH3pP7yZC+SeZz3m2Mx8W9onDez0bASSD9O
qVLB+q9tJadB28/5uA==
=u3L6
-END PGP SIGNATURE-

Betsy McPhail (1):
  CTest: Generate Done.xml before calculating its hash

Brad King (18):
  Merge branch 'FindPython-interpreter-crosscompiling' into release-3.15
  Merge branch 'backport-swift-improvements' into release-3.15
  VS: Place intermediate files in the "ASM List Location" next to objects
  Merge branch 'vs-asmlist-dir' into release-3.15
  MSVC: Document behavior when MSVC_RUNTIME_LIBRARY is not set
  Merge branch 'msvc-runtime-library-doc' into release-3.15
  Merge branch 'ctest-done-hash' into release-3.15
  Merge branch 'InstallRequiredSystemLibraries-redist' into release-3.15
  Merge branch 'fix-emulator-arguments' into release-3.15
  Clang: For MSVC ABI do not use modes older than C++14
  Tests: Revert "require C++14 for the Tutorial"
  Merge branch 'backport-clang-gnulike-support' into release-3.15
  Makefile: Fix regression in dependencies on relative includes
  Merge branch 'makefile-depend-relative-include' into release-3.15
  Merge branch 'FindMPI-link-flags' into release-3.15
  Help: Add 3.15.1 release notes
  Merge branch 'doc-relnotes-3.15' into release-3.15
  CMake 3.15.1

James Butler (2):
  IRSL: Fix typo in v143 toolset version check
  IRSL: Fix discovery of VS 2019 v141 toolset redistributables

Marc Chevrier (1):
  FindPython: ensure interpreter is founded when cross-compiling

Marek Antoniak (1):
  Fix allocation in CROSSCOMPILING_EMULATOR evaluation

Robert Maynard (2):
  FindMPI: Updated to use INTERFACE_LINK_OPTIONS
  FindMPI: make sure computed link flags are not de-duplicated

Saleem Abdulrasool (5):
  Support per-language library link flags
  Swift: Add library search paths for dependencies
  Swift: add rules for static linking
  Swift: support multithreaded compilation
  Swift: support SONAME on ELFish targets

---


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-494-gaf3278a

2019-07-26 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  af3278af3612e9bc0599617767047eaeb186c998 (commit)
   via  f43a7d76c737c5bb9b903a2b1be5186c081ec21e (commit)
  from  d9156c387c60bc15523a27bba83809ec9fa2a8bf (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=af3278af3612e9bc0599617767047eaeb186c998
commit af3278af3612e9bc0599617767047eaeb186c998
Merge: d9156c3 f43a7d7
Author: Brad King 
AuthorDate: Fri Jul 26 09:40:24 2019 -0400
Commit: Brad King 
CommitDate: Fri Jul 26 09:40:24 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-30-gf43a7d7

2019-07-26 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, release has been updated
   via  f43a7d76c737c5bb9b903a2b1be5186c081ec21e (commit)
  from  838278f4babe248eeb302f98651662ef8d94c7e6 (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:
 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-492-gd9156c3

2019-07-26 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  d9156c387c60bc15523a27bba83809ec9fa2a8bf (commit)
   via  8df10447a18d6479160189509a248a465d6e967c (commit)
   via  52ea0c4676e2e9893312a9f73609603129cd6886 (commit)
   via  838278f4babe248eeb302f98651662ef8d94c7e6 (commit)
   via  3b113cc131a2c477a29960676cccb697994353ec (commit)
   via  1d3841b6003d4f1a45e79f6b9e6d6357514905f1 (commit)
   via  b5460f99315f8e6a6bdc985ebc0ca18dd8a294a8 (commit)
   via  ad2b3a32d1b54716d1e87ae89db8c31d614a4730 (commit)
   via  11fa818ecda0b50446aef891b06976973005e94b (commit)
   via  0239bf8ac88bb8ae9d8945be506cee2c9adb08f5 (commit)
   via  7caebeb0e4babc41e5c84b4ce0ea70adcfdea4a1 (commit)
   via  b2785a0fbdcfa703f3ad3aaa2949ec7db55a27d9 (commit)
  from  467e6ac728cefa484f9e9369a7da4d05b04ec403 (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=d9156c387c60bc15523a27bba83809ec9fa2a8bf
commit d9156c387c60bc15523a27bba83809ec9fa2a8bf
Merge: 8df1044 838278f
Author: Brad King 
AuthorDate: Fri Jul 26 07:37:55 2019 -0400
Commit: Brad King 
CommitDate: Fri Jul 26 07:37:55 2019 -0400

Merge branch 'release-3.15'


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8df10447a18d6479160189509a248a465d6e967c
commit 8df10447a18d6479160189509a248a465d6e967c
Merge: 52ea0c4 3b113cc
Author: Brad King 
AuthorDate: Fri Jul 26 11:37:10 2019 +
Commit: Kitware Robot 
CommitDate: Fri Jul 26 07:37:19 2019 -0400

Merge topic 'doc-relnotes-3.15'

3b113cc131 Help: Add 3.15.1 release notes

Acked-by: Kitware Robot 
Merge-request: !3608


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=52ea0c4676e2e9893312a9f73609603129cd6886
commit 52ea0c4676e2e9893312a9f73609603129cd6886
Merge: 467e6ac 1d3841b
Author: Brad King 
AuthorDate: Fri Jul 26 11:29:53 2019 +
Commit: Kitware Robot 
CommitDate: Fri Jul 26 07:33:27 2019 -0400

Merge topic 'optimize-usage-requirements'

1d3841b600 Genex: Memoize usage requirement TARGET_PROPERTY existence
b5460f9931 cmLinkItem: Expose HadHeadSensitiveCondition in 
cmLinkInterfaceLibraries
ad2b3a32d1 Genex: Optimize build setting TARGET_PROPERTY evaluation
11fa818ecd Genex: Optimize usage requirement TARGET_PROPERTY recursion
0239bf8ac8 Genex: In TARGET_PROPERTY check for usage reqs in link libs 
earlier
7caebeb0e4 Genex: Re-order TARGET_PROPERTY logic to de-duplicate checks
b2785a0fbd Genex: Move TARGET_PROPERTY linked targets evaluation to end

Acked-by: Kitware Robot 
Acked-by: Cristian Adam 
Merge-request: !3589


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1d3841b6003d4f1a45e79f6b9e6d6357514905f1
commit 1d3841b6003d4f1a45e79f6b9e6d6357514905f1
Author: Brad King 
AuthorDate: Tue Jul 23 10:01:13 2019 -0400
Commit: Brad King 
CommitDate: Tue Jul 23 10:44:19 2019 -0400

Genex: Memoize usage requirement TARGET_PROPERTY existence

For each usage requirement (such as `INTERFACE_COMPILE_DEFINITIONS` or
`INTERFACE_INCLUDE_DIRECTORIES`), the value of the generator expression
`$` includes the values of the same
property from the transitive closure of link libraries of the target.

In cases that a target's transitive closure of dependencies does not
depend on the target being linked (the "head" target), we can memoize
whether or not a usage requirement property exists at all for that
target.  When a usage requirement does not exist for a target, we
can skip evaluating it for every consuming target.

Fixes: #18964, #18965

diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index b22d8b6..7c41045 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -1143,12 +1143,59 @@ bool cmGeneratorTarget::GetPropertyAsBool(const 
std::string& prop) const
   return this->Target->GetPropertyAsBool(prop);
 }
 
+bool cmGeneratorTarget::MaybeHaveInterfaceProperty(
+  std::string const& prop, cmGeneratorExpressionContext* context) const
+{
+  std::string const key = prop + '@' + context->Config;
+  auto i = this->MaybeInterfacePropertyExists.find(key);
+  if (i == this->MaybeInterfacePropertyExists.end()) {
+// Insert an entry now in case there is a cycle.
+i = this->MaybeInterfacePropertyExists.emplace(key, false).first;
+bool& maybeInterfaceProp = i->second;
+
+// If this target itself has a non-empty property value, we are done.
+const char* p = this->GetProperty(prop);
+maybeInterfaceProp = p && *p;
+
+// Otherwise, recurse to interface 

[Cmake-commits] CMake branch, release, updated. v3.15.0-29-g838278f

2019-07-26 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, release has been updated
   via  838278f4babe248eeb302f98651662ef8d94c7e6 (commit)
   via  3b113cc131a2c477a29960676cccb697994353ec (commit)
  from  693a9b382a082a4a308e65e091c0af2c953a4a06 (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:
 Help/release/3.15.rst | 17 +
 1 file changed, 17 insertions(+)


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-480-g467e6ac

2019-07-26 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  467e6ac728cefa484f9e9369a7da4d05b04ec403 (commit)
   via  c23c4ed9cf912e265e1070507905b3dbc495a210 (commit)
   via  9f23c91919945f8158ef5bc2512aefaa418de0da (commit)
   via  c9af23d2a1f00d76d550892fcc94f03c2cfd1cf9 (commit)
   via  aff019f7a453e8bbb67f004d3164151305d0d23e (commit)
   via  780d9e070bec694c12a10162d64196073c6d2ba2 (commit)
   via  94f536b9354b13cbd9b04ec9157f6acbbfd46598 (commit)
   via  4ff0bb054b65ac332fed3272afac8142599b6464 (commit)
   via  65d3ea2c7f737c01b426d73f57167f5ad60c095c (commit)
   via  e91bfe440c1419b445ef6746552dd03ba302e6cf (commit)
   via  f2ba968ef2a1c46e117dcd8eec34a55775f3d5f4 (commit)
   via  9b5cc4253135c7811936b05525e013e04a390d02 (commit)
   via  e268840c0a5db59f97c0fbc77aaae621520b83a3 (commit)
   via  451fd329a88f26bacce7e9939ef767876b385050 (commit)
  from  ea2b488fecc7536197c766e22732edf3928bfc27 (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=467e6ac728cefa484f9e9369a7da4d05b04ec403
commit 467e6ac728cefa484f9e9369a7da4d05b04ec403
Merge: c23c4ed e91bfe4
Author: Brad King 
AuthorDate: Fri Jul 26 11:29:19 2019 +
Commit: Kitware Robot 
CommitDate: Fri Jul 26 07:32:18 2019 -0400

Merge topic 'definitions_string_view'

e91bfe440c cmMakefile: Let AddDefinition accept a value as cm::string_view
f2ba968ef2 cmMakefile: Simplify and rename AddDefinitionBool
9b5cc42531 cmDefinitions: Remove const char* based Set method
e268840c0a cmDefinitions: Add Unset and cm::string_view based Set methods
451fd329a8 cmDefinitions: Cleanups

Acked-by: Kitware Robot 
Merge-request: !3577


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c23c4ed9cf912e265e1070507905b3dbc495a210
commit c23c4ed9cf912e265e1070507905b3dbc495a210
Merge: 9f23c91 4ff0bb0
Author: Brad King 
AuthorDate: Fri Jul 26 11:29:31 2019 +
Commit: Kitware Robot 
CommitDate: Fri Jul 26 07:30:45 2019 -0400

Merge topic 'IsON_IsOFF_string_view'

4ff0bb054b cmSystemTools: Make IsInternallyOn, IsON and IsOff 
cm::string_view based
65d3ea2c7f cmAlgorithms: Make cmHasLiteral{Prefix,Suffix} cm::string_view 
based

Acked-by: Kitware Robot 
Merge-request: !3598


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9f23c91919945f8158ef5bc2512aefaa418de0da
commit 9f23c91919945f8158ef5bc2512aefaa418de0da
Merge: c9af23d aff019f
Author: Brad King 
AuthorDate: Fri Jul 26 11:28:30 2019 +
Commit: Kitware Robot 
CommitDate: Fri Jul 26 07:29:21 2019 -0400

Merge topic 'update-kwsys'

aff019f7a4 Merge branch 'upstream-KWSys' into update-kwsys
780d9e070b KWSys 2019-07-25 (a24a6acb)

Acked-by: Kitware Robot 
Merge-request: !3602


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c9af23d2a1f00d76d550892fcc94f03c2cfd1cf9
commit c9af23d2a1f00d76d550892fcc94f03c2cfd1cf9
Merge: ea2b488 94f536b
Author: Brad King 
AuthorDate: Fri Jul 26 11:28:00 2019 +
Commit: Kitware Robot 
CommitDate: Fri Jul 26 07:28:09 2019 -0400

Merge topic 'variable-typo'

94f536b935 cmCTestHandlerCommand: fix typo of local variable

Acked-by: Kitware Robot 
Merge-request: !3600


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=aff019f7a453e8bbb67f004d3164151305d0d23e
commit aff019f7a453e8bbb67f004d3164151305d0d23e
Merge: a1c6d7e 780d9e0
Author: Brad King 
AuthorDate: Thu Jul 25 07:54:34 2019 -0400
Commit: Brad King 
CommitDate: Thu Jul 25 07:54:34 2019 -0400

Merge branch 'upstream-KWSys' into update-kwsys

* upstream-KWSys:
  KWSys 2019-07-25 (a24a6acb)


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=780d9e070bec694c12a10162d64196073c6d2ba2
commit 780d9e070bec694c12a10162d64196073c6d2ba2
Author: KWSys Upstream 
AuthorDate: Thu Jul 25 07:53:43 2019 -0400
Commit: Brad King 
CommitDate: Thu Jul 25 07:54:33 2019 -0400

KWSys 2019-07-25 (a24a6acb)

Code extracted from:

https://gitlab.kitware.com/utils/kwsys.git

at commit a24a6acbbb4a51cf6fefbeb10d1f63ed1b670c69 (master).

Upstream Shortlog
-

Brad King (3):
  15896025 SystemTools: Use C++11 in SystemToolsAppendComponents
  c6f8e24a SystemTools: Fix CollapseFullPath with relative base path
  5ca03af6 SystemTools: Revert "Reduce scope of 'buf' variable in 
CollapseFullPath"

David Bodnar (5):
  116a4919 RegularExpression: Reduce scope of 'len' variable
  31f5cdeb RegularExpression: Initialize private 

[CMake] Building cmake generated UWP windows desktop project results in error MC6000 (missing WindowsBase, ...)

2019-07-26 Thread Bengt Ehn
Hello,

I created a simple windows UWP solution with windows visual studio 2019.
I did not make any changes to it but closed visual studio.

Then I wrote a simple cmake file for it.
However, it fails in "cmake --build" like this:

C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFx.targets(268,9):
error MC6000: Project file must include the
.NET Framework assembly 'WindowsBase, PresentationCore,
PresentationFramework' in the reference list. [App1\out\App1.csproj]


When I add the requested .NET files, three is a different error:

App1\MainPage.xaml(9,5): error MC3074: The tag 'ThemeResource' does not
exist in XML namespace
'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. Line 9
Position 5. [App1\out\App1.csproj]


I cannot overcome these problems.
I generate and compile the solution like this:

*cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_NAME=WindowsStore
-DCMAKE_SYSTEM_VERSION=10.0 -S . -B out*

*cmake --build out*


Cmake version is 3.14.19050301-MSVC_2.
The source files are attached but also on google drive
 in
case they vanish.
Probably there is just a simple error but I cannot find it.

Thank you in advance,
Bengt
<>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[Cmake-commits] CMake branch, master, updated. v3.15.0-466-gea2b488

2019-07-26 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  ea2b488fecc7536197c766e22732edf3928bfc27 (commit)
   via  693a9b382a082a4a308e65e091c0af2c953a4a06 (commit)
  from  f54c9f6cc39e805dfd62aae255c4870da312de19 (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=ea2b488fecc7536197c766e22732edf3928bfc27
commit ea2b488fecc7536197c766e22732edf3928bfc27
Merge: f54c9f6 693a9b3
Author: Brad King 
AuthorDate: Fri Jul 26 07:13:12 2019 -0400
Commit: Brad King 
CommitDate: Fri Jul 26 07:13:12 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-27-g693a9b3

2019-07-26 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, release has been updated
   via  693a9b382a082a4a308e65e091c0af2c953a4a06 (commit)
   via  cf04da7e702014c7cc163dd4a78bccdeff813210 (commit)
   via  39c572c9c932802595eb50594e24c961cfa1151b (commit)
  from  070a5e3835b11f76cc8ed8c4a2191295caf8069b (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/FindMPI.cmake | 7 ++-
 1 file changed, 2 insertions(+), 5 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-464-gf54c9f6

2019-07-26 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  f54c9f6cc39e805dfd62aae255c4870da312de19 (commit)
   via  cf04da7e702014c7cc163dd4a78bccdeff813210 (commit)
  from  7feece688d6115601937f4bde7727df70ebea15b (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=f54c9f6cc39e805dfd62aae255c4870da312de19
commit f54c9f6cc39e805dfd62aae255c4870da312de19
Merge: 7feece6 cf04da7
Author: Brad King 
AuthorDate: Fri Jul 26 11:11:55 2019 +
Commit: Kitware Robot 
CommitDate: Fri Jul 26 07:12:08 2019 -0400

Merge topic 'FindMPI-link-flags'

cf04da7e70 FindMPI: make sure computed link flags are not de-duplicated

Acked-by: Kitware Robot 
Tested-by: Ben Boeckel 
Tested-by: Robert Maynard 
Acked-by: Axel Huebl 
Merge-request: !3605


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cf04da7e702014c7cc163dd4a78bccdeff813210
commit cf04da7e702014c7cc163dd4a78bccdeff813210
Author: Robert Maynard 
AuthorDate: Thu Jul 25 12:00:50 2019 -0400
Commit: Brad King 
CommitDate: Thu Jul 25 12:59:21 2019 -0400

FindMPI: make sure computed link flags are not de-duplicated

In commit f7eaa342de (FindMPI: Store imported target link flags as a
list instead of a string, 2019-06-14, v3.15.0-rc2~2^2) we used
`separate_arguments` to parse the extracted link flags and add them to
`INTERFACE_LINK_LIBRARIES`.  That property is not meant for link flags
and CMake may de-duplicate them.  This is particularly problematic for
flags like `-Wl,-rpath -Wl,/path1 -Wl,-rpath -Wl,/path2`.

In commit 39c572c9c9 (FindMPI: Updated to use INTERFACE_LINK_OPTIONS,
2019-06-24) we moved the parsed flags over to `INTERFACE_LINK_OPTIONS`,
but that may still perform de-duplication.  Avoid the parsing and
de-duplication of flags by passing the original string via `SHELL:`
instead.

Fixes: #19516

diff --git a/Modules/FindMPI.cmake b/Modules/FindMPI.cmake
index fc9810c..9471be8 100644
--- a/Modules/FindMPI.cmake
+++ b/Modules/FindMPI.cmake
@@ -1143,9 +1143,7 @@ macro(_MPI_create_imported_target LANG)
   set_property(TARGET MPI::MPI_${LANG} PROPERTY INTERFACE_COMPILE_DEFINITIONS 
"${MPI_${LANG}_COMPILE_DEFINITIONS}")
 
   if(MPI_${LANG}_LINK_FLAGS)
-separate_arguments(_MPI_${LANG}_LINK_FLAGS NATIVE_COMMAND 
"${MPI_${LANG}_LINK_FLAGS}")
-set_property(TARGET MPI::MPI_${LANG} PROPERTY INTERFACE_LINK_OPTIONS 
"${_MPI_${LANG}_LINK_FLAGS}")
-unset(_MPI_${LANG}_LINK_FLAGS)
+set_property(TARGET MPI::MPI_${LANG} PROPERTY INTERFACE_LINK_OPTIONS 
"SHELL:${MPI_${LANG}_LINK_FLAGS}")
   endif()
   # If the compiler links MPI implicitly, no libraries will be found as 
they're contained within
   # CMAKE__IMPLICIT_LINK_LIBRARIES already.

---

Summary of changes:
 Modules/FindMPI.cmake | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
https://cmake.org/mailman/listinfo/cmake-commits