Re: [CMake] Visual Studio 2015 Generator crash 3.13

2018-11-23 Thread Harry Mallon
Hi again all, I have some more information. https://gitlab.kitware.com/cmake/cmake/commit/83ddc4d2891a0bbb06fb1e3daa00245b3c23eddc That commit causes the crash. When sdks[0] is used I have no SDKs left in the list as it finds 2 but both are a higher version than "10.0.14393.0" which is apparen

Re: [CMake] Visual Studio 2015 Generator crash 3.13

2018-11-23 Thread Niels Dekker
Hi Harry, Sorry I don't know how to interpret the CDB.exe dump you gave. Maybe someone else on the mailing list...? So you have the crash, even with a minimal CMakeLists.txt of three lines: cmake_minimum_required(VERSION 3.13) project(MyProject) add_executable(MyProject MySource.cpp)

Re: [CMake] CPack RPM: file XXX conflicts with file from package filesystem-yyy...

2018-11-23 Thread Mario Emmenlauer
Dear Eric, thanks a lot for this help! I think I have the pointers to move forward! One more detail below: On 23.11.18 11:36, Eric Noulard wrote: > Le ven. 23 nov. 2018 à 11:10, Mario Emmenlauer > a écrit : > Dear Eric, thanks for the help! Below more: > > O

Re: [CMake] Visual Studio 2015 Generator crash 3.13

2018-11-23 Thread Harry Mallon
Hi Niels, Apologies for not replying inline, that email didn’t get through (except in the digest). I can reproduce it with that short project file (also with the INTERPROCEDURAL_OPTIMIZATION_RELEASE line commented out). I have just spent some time trying to debug it, but I don’t have a full cop

Re: [CMake] Effective CMake - warning on bad practices

2018-11-23 Thread Craig Scott
On Fri, Nov 23, 2018 at 11:07 PM cen wrote: > I finished watching "Effective CMake" talk by Daniel Pfeifer from last > year and it seems to me it is the "GO TO" resource for best practices. A > quick scan of my CMakeLists.txt files and sure enough, I use > include_directories() and other "dont's"

[CMake] Effective CMake - warning on bad practices

2018-11-23 Thread cen
I finished watching "Effective CMake" talk by Daniel Pfeifer from last year and it seems to me it is the "GO TO" resource for best practices. A quick scan of my CMakeLists.txt files and sure enough, I use include_directories() and other "dont's". The problem is that none of the things mentioned

Re: [CMake] CPack RPM: file XXX conflicts with file from package filesystem-yyy...

2018-11-23 Thread Eric Noulard
Le ven. 23 nov. 2018 à 11:10, Mario Emmenlauer a écrit : > > Dear Eric, thanks for the help! Below more: > > On 22.11.18 18:20, Eric Noulard wrote: > > Le jeu. 22 nov. 2018 à 16:16, Mario Emmenlauer > a écri > > I'm trying to build an RPM with CPack, and everythin

Re: [CMake] Visual Studio 2015 Generator crash 3.13

2018-11-23 Thread Niels Dekker
Hi Harry, Sorry to hear you got a crash while trying to generate a VS2015 project using CMake 3.13. I just tried to reproduce your issue, but I could not. Do you already get the crash with the following CMakeLists? cmake_minimum_required( VERSION 3.13) project(MyProject) add_executable(

Re: [CMake] CPack RPM: file XXX conflicts with file from package filesystem-yyy...

2018-11-23 Thread Mario Emmenlauer
Dear Eric, thanks for the help! Below more: On 22.11.18 18:20, Eric Noulard wrote: > Le jeu. 22 nov. 2018 à 16:16, Mario Emmenlauer > a écri > I'm trying to build an RPM with CPack, and everything seems to work, > but the resulting package can not be installed