[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


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] 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