[CMake] Building CMake using CMake 3.6.3 fails.

2016-11-03 Thread Andrew Maclean
Windows 10 64-bit using ninja, Qt 5.7 MSVC 2105. Building CMake with CMake 3.6.2 was OK. Now using CMake 3.6.3 I get the following message: CMake Error in Source/QtDialog/CMakeLists.txt: - [0/1] Re-running CMake... -- cannot compile simplest ever MFC app, avoiding MFC test -

Re: [CMake] Change project name based on architecture

2016-11-03 Thread Eric Noulard
2016-11-04 5:06 GMT+01:00 B. Scott Harper : > I have a project where I manage multiple architectures and switch back and > forth frequently for testing. Full disclosure, I'm using Visual Studio. And > since I cannot generate a single solution with multiple architectures (per > everything I've foun

[CMake] Change project name based on architecture

2016-11-03 Thread B. Scott Harper
I have a project where I manage multiple architectures and switch back and forth frequently for testing. Full disclosure, I'm using Visual Studio. And since I cannot generate a single solution with multiple architectures (per everything I've found searching Google and the mailing list), I have two

Re: [CMake] CPACK WIX shortcuts

2016-11-03 Thread Tiago Macarios
Yup that did it! Thanks! On Thu, Nov 3, 2016 at 12:10 PM, Nils Gladitz wrote: > On 03.11.2016 19:32, Tiago Macarios wrote: > >> >> >> And I am building it like so: >> mkdir build >> cd build >> cmake .. >> cmake --build . --config Release >> cpack -G WIX >> > > You are using a multi-configuratio

[CMake] CMake 3.7.0-r2 Open Project sometimes picks wrong version of Visual Studio

2016-11-03 Thread John Drescher
I opened a project in cmake-gui using the open project button from a vc 2010 build of a project. The open project opened the project in Visual Studio 2010. Later I opened the same project but a different build tree for Visual Studio 2013 CMake-gui had all of the correct information for the Visual S

Re: [CMake] CPACK WIX shortcuts

2016-11-03 Thread Nils Gladitz
On 03.11.2016 19:32, Tiago Macarios wrote: And I am building it like so: mkdir build cd build cmake .. cmake --build . --config Release cpack -G WIX You are using a multi-configuration generator (Visual Studio). As you do in the build try specifying a configuration to be packaged when invok

Re: [CMake] CPACK WIX shortcuts

2016-11-03 Thread Tiago Macarios
Hi Nils, Here are all the versions of things involved: Windows10 1607 14393.351 cmake 3.6.3 wix 3.10.3 VS 2015 Update 3 14.0.25431.01 I modified the test to be self contained: == cmake_minimum_required(VERSION 3.6) add_executable(h-w hw.cpp) instal

[CMake] [ANNOUNCE] CMake 3.6.3 available for download

2016-11-03 Thread Robert Maynard
We are pleased to announce that CMake 3.6.3 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.6.3 since 3.6.2: Brad Ki

Re: [CMake] Building CMake without Curl

2016-11-03 Thread Chuck Atkins
It looks like you're using an existing configuration already set to use system installed libraries. Try from a clean source tree and an out-of-source (the recommend way to do all cmake things) build directory. Using the 3.6.2 tarball, I get: $ tar -xvf cmake-3.6.2.tar.gz ... lots of tar output ..

Re: [CMake] CPACK WIX shortcuts

2016-11-03 Thread Nils Gladitz
On 11/03/2016 12:23 AM, Tiago Macarios wrote: Hi, I am trying to create an installer with CPACK and WIX as generator. Everything works fine except that I cannot get start menu shortcuts to work. I was using almost the same code as the link below (which seems to be the unit tests for this f