[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
separate solution files (one each for x86 and x64). I often open a solution
using the recent solutions menu, and it would be a lot easier if I could
name the solution (cmake's "project()" command) differently for each
architecture I use.

I tried simply

if(${CMAKE_SIZEOF_VOID_P} EQUAL 8)
set(PLATFORM_TARGET "x64")
else()
set(PLATFORM_TARGET "x86")
endif()

project(My_Project_${PLATFORM_TARGER})

...however it seems that CMAKE_SIZEOF_VOID_P isn't filled out until AFTER
the project command, so I can't use that variable as part of my
project/solution name.

Is there another way to accomplish this? Google only returns documentation
on the project command in general and the above method seems to be the
preferred means of detecting build architecture.

Cheers,
-- Scott
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake

[Cmake-commits] CMake branch, master, updated. v3.7.0-rc2-456-gd6ef59f

2016-11-03 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  d6ef59f5a39f9748f44abdba80f596c16b6984a3 (commit)
  from  60d80bca4afcfb3a38b588a5a2060cc275b4afbc (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=d6ef59f5a39f9748f44abdba80f596c16b6984a3
commit d6ef59f5a39f9748f44abdba80f596c16b6984a3
Author: Kitware Robot <kwro...@kitware.com>
AuthorDate: Fri Nov 4 00:01:11 2016 -0400
Commit: Kitware Robot <kwro...@kitware.com>
CommitDate: Fri Nov 4 00:01:11 2016 -0400

CMake Nightly Date Stamp

diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index 141d2a9..b3cff47 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 7)
-set(CMake_VERSION_PATCH 20161103)
+set(CMake_VERSION_PATCH 20161104)
 #set(CMake_VERSION_RC 1)

---

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
http://public.kitware.com/mailman/listinfo/cmake-commits


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-configuration generator (Visual Studio).
>
> As you do in the build try specifying a configuration to be packaged when
> invoking cpack (the "PACKAGE" target that cmake generates does this by
> default):
> e.g. cpack -C Release -G WIX
>
> The install properties are only generated for the known configurations.
>
> Nils
>
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake

[cmake-developers] Visual Studio Project Upgrade Prompt

2016-11-03 Thread Christensen, Erik
Hi,

When opening projects in the Visual Studio IDE that are using an older toolset 
version (ie. a VS 2012 project under VS 2015) for the first time, a prompt is 
displayed asking if you'd like to upgrade the projects to the newer version of 
Visual Studio.  This gets annoying pretty quickly when you're generating 
projects over and over.  Now, there's a VS project property that can be set, 
which will prevent this prompt from being shown.  It can be applied to any 
(known) CMake target like so:

set_property(TARGET target PROPERTY VS_GLOBAL_VCProjectUpgraderObjectName 
NoUpgrade)

Unfortunately, you still get upgrade prompts for all of the predefined and 
automoc targets (ie. ALL_BUILD, ZERO_CHECK, etc.).  Is there any way to assign 
that property to the built-in targets?

Really, it seems like this is a property that should be applied by default to 
any CMake generated Visual Studio projects.   I'm not sure why anyone would 
want to do a project upgrade within Visual Studio itself when you can just 
reconfigure the toolset in CMake.  I imagine anyone specifying an older toolset 
version is doing so on purpose so that they can use the latest IDE with 
projects that need to be kept on older compilers.  But maybe I'm wrong.

Erik
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake-developers

[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 Studio 2013 build but open project tried to
open the Visual Studio 2013 solution in Visual Studio 2010 instead of
the expected Visual Studio 2013. Is there a way to get/force this
feature to reliably use the correct ide?

Thanks,
John
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake


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 invoking cpack (the "PACKAGE" target that cmake generates does this 
by default):

e.g. cpack -C Release -G WIX

The install properties are only generated for the known configurations.

Nils
--

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:
http://public.kitware.com/mailman/listinfo/cmake


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)

install(TARGETS h-w DESTINATION bin)

install(FILES hw.cpp DESTINATION src)

set_property(INSTALL "bin/$"
PROPERTY CPACK_START_MENU_SHORTCUTS "Hello World"
)

set_property(INSTALL "src/hw.cpp"
PROPERTY CPACK_START_MENU_SHORTCUTS "Source Code" "Same Source Code"
)

include(CPack)
==

And I am building it like so:
mkdir build
cd build
cmake ..
cmake --build . --config Release
cpack -G WIX

If I understood the test correctly I should have two folders in the start
menu:
- "Hello World"
- "Source Code"
I don't see any of them after installing. AFAICT no other new folders are
created either.

If I go into the folder with the WIX generated input I don't see any
Shortcut directives
http://wixtoolset.org/documentation/manual/v3/xsd/wix/shortcut.html
cd _CPack_Packages/win32/WIX
cat *wxs *wxi | grep Shortcut
# Returns empty

Also, if I open the msi with Orca I don't see the shortcut table.

I am probably doing something wrong, if you could help me I would
appreciate. Zip files with project + build folder is here:
https://www.dropbox.com/s/4a889ijqnocllcb/wix.zip?dl=0

Tiago

On Thu, Nov 3, 2016 at 1:15 AM, Nils Gladitz  wrote:

> 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 feature), then I tried to build the unit test and I
>> still don't see the shortcut directives on the wix files.
>>
>> Am I doing something wrong, or is this a regression?
>>
>
> Which CMake version are you actually using?
> This feature was implemented in CMake 3.3.0.
>
>
>> https://github.com/ngladitz/cmake-wix-testsuite/blob/d01013e
>> 2066e68088b4f56a8ab7750eb3cea7089/property_start_menu_
>> shortcuts/CMakeLists.txt
>>
>
> This still works for me using CMake 3.7.0-rc2.
>
> CMake 3.7.0-rc2's own windows installer uses the same feature for the
> start menu shortcut to the documentation which also seems to work for me.
>
> Nils
>
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake

[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 King (2):
  FindHDF5: Restore pre-3.6 behavior of finding only C by default
  CMake 3.6.3

Clinton Stimpson (1):
  cmake-gui: Do not remove library paths for Qt5 plugins.
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake


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 ...
$ mkdir cmake-3.6.2-build
$ cd cmake-3.6.2-build
$ ../cmake-3.6.2/bootstrap --prefix=../cmake-3.6.2-install
-
CMake 3.6.2, Copyright 2000-2016 Kitware, Inc.
Found GNU toolchain
C compiler on this system is: gcc
C++ compiler on this system is: g++
Makefile processor on this system is: gmake
g++ is GNU compiler
g++ has setenv
g++ has unsetenv
g++ does not have environ in stdlib.h
g++ has stl wstring
-
... lots of compile output ...
loading initial cache file /home/khq.kitware.com/chuck.
atkins/Code/CMake/source/cmake-3.6.2-build/Bootstrap.
cmk/InitialCacheFlags.cmake
-- The C compiler identification is GNU 6.2.1
-- The CXX compiler identification is GNU 6.2.1
... lots of cmake output ...
-
CMake has bootstrapped.  Now run gmake.
$


At this point, if you run "make help" then you'll get a list of available
targets.  In there, amongst others, you will see cmzlib, cmcurl, cmbzip2,
cmliblzma, cmlibarchive, cmexpat, and cmjsoncpp.  These are CMake's
internal copies of the dependencies.  When bootstrap is run with
--system-libs then system versions of those dependencies will be used
instead and the previously mentioned cm targets will not exist in
the make help output.



--
Chuck Atkins
Staff R Engineer, Scientific Computing
Kitware, Inc.


On Thu, Nov 3, 2016 at 10:47 AM, Jayesh Badwaik 
wrote:

> > CMake includes internal versions of all the dependencies it needs to
> > build.  You have the option of using an external system-supplied version
> > but it's certainly not required.  Without OpenSSL you'll just have a
> cmake
> > that can't use https, certainly not the end of the world.  The default
> > configuration of the ./bootstrap command should be using internal
> versions
> > of all of CMake's dependencies.  Is that causing problems for you?
>
> Yes. The bootstrap command runs successfully, but after that it advises me
> to
> run gmake, which fails. I've attached the errors of the bootstrap command
> and
> the gmake command in this mail.
>
> --
> Cheers
> Jayesh Badwaik
> https://www.jayeshbadwaik.in
>
-- 

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:
http://public.kitware.com/mailman/listinfo/cmake

[Cmake-commits] CMake branch, next, updated. v3.7.0-rc2-935-gcec11d1

2016-11-03 Thread Brad King
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, next has been updated
   via  cec11d1d4731389dda229442da834dddf5bdb56c (commit)
   via  60d80bca4afcfb3a38b588a5a2060cc275b4afbc (commit)
  from  0e78a19123015e727c82b06f84859194a7ee7571 (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=cec11d1d4731389dda229442da834dddf5bdb56c
commit cec11d1d4731389dda229442da834dddf5bdb56c
Merge: 0e78a19 60d80bc
Author: Brad King 
AuthorDate: Thu Nov 3 10:43:05 2016 -0400
Commit: Brad King 
CommitDate: Thu Nov 3 10:43:05 2016 -0400

Merge branch 'master' into next


---

Summary of changes:


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.7.0-rc2-455-g60d80bc

2016-11-03 Thread Brad King
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  60d80bca4afcfb3a38b588a5a2060cc275b4afbc (commit)
   via  9c507c13a0cffb163a1d56f34c020b5474a3e100 (commit)
  from  dec0cfcef012ca762a731d6e096012fa1c072f14 (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:


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


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

2016-11-03 Thread Brad King
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.6.3 has been created
at  a2f08cbcf890eddf45e3de50a05b97764d841ae3 (tag)
   tagging  9c507c13a0cffb163a1d56f34c020b5474a3e100 (commit)
  replaces  v3.6.2
 tagged by  Brad King
on  Thu Nov 3 10:39:28 2016 -0400

- Log -
CMake 3.6.3
-BEGIN PGP SIGNATURE-

iQIzBAABCAAdBQJYG0wgFhxicmFkLmtpbmdAa2l0d2FyZS5jb20ACgkQLSzvEDSS
FoRwHg//SSOmihE4QSmEGHgswtSapYO024uxYLpV8yYLlx4m8asQNjpQz+dbnSgh
3s64f4/cYQH5KDsqwK7VBfGOJFYFO6D7g8ruZ7AlWYW0wiMPL3QAiy0zsKEp9S0f
0eOXWFlgAADepq+WauseTWCmTe49BCOT6DpwWsSjJIz1QxIfKAOlwbZ7UpNPUBii
u2ZT8cWlMonP9LE7bJyTzlMtuN93+yjUBOVTi4B6NZ76rG7p3Nm1Y7WptX2HAz/X
FrU9hXtFPWiGf7Chq+f+5/bagbjOrc1lqZxMGouVe1r4t+GJFz5eqCCZXAAfisN2
UacCmsLxadbmFVeJkd23fywKHnUq6k8JRDYN9Lgu99F/smkDeTjbZoHBErrrfjYb
22+chwDsVIGclRZ2l7evuKAn1OFIEIcnT+WjXOGKSxLsTwTEQ1p3QPrbAoFDIM9N
FNMfidP0mui7O05iouiqCMsPptRqoHwfP03NsZ7b6VLliC6QQ7EAXyWnCVRlYG9B
IN/Ep0Y1U7sNXHhOPnfBy2x0j6Q2vsc6R0nU4jVrWlUkJc0+aFheu0pgWn1X9IAp
R89EDMP9tdMoaXbWpaFyZ4jPkBU5mHPIPn/4uo73FB4+/uQvrCnOkwzUST/ks7BK
+LzzsE4sVmzRnB/gUu4h88et4dqq3JdUDRW2nhMsSsIzpb8vtmQ=
=dp8r
-END PGP SIGNATURE-

Brad King (4):
  FindHDF5: Restore pre-3.6 behavior of finding only C by default
  Merge branch 'qtdialog-lib-paths' into release-3.6
  Merge branch 'FindHDF5-restore-default-C' into release-3.6
  CMake 3.6.3

Clinton Stimpson (1):
  cmake-gui: Do not remove library paths for Qt5 plugins.

---


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.7.0-rc2-933-g0e78a19

2016-11-03 Thread Brad King
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, next has been updated
   via  0e78a19123015e727c82b06f84859194a7ee7571 (commit)
   via  6db1846a898e7651720ac03f5d4c869f95729f0c (commit)
   via  9c507c13a0cffb163a1d56f34c020b5474a3e100 (commit)
  from  f4570ad0d275896fa14d09bfa871b938b4a3b894 (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=0e78a19123015e727c82b06f84859194a7ee7571
commit 0e78a19123015e727c82b06f84859194a7ee7571
Merge: f4570ad 6db1846
Author: Brad King 
AuthorDate: Thu Nov 3 09:36:41 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Nov 3 09:36:41 2016 -0400

Merge topic 'test-release' into next

6db1846a Merge branch 'release-3.6' into test-release
9c507c13 CMake 3.6.3


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6db1846a898e7651720ac03f5d4c869f95729f0c
commit 6db1846a898e7651720ac03f5d4c869f95729f0c
Merge: dec0cfc 9c507c1
Author: Brad King 
AuthorDate: Thu Nov 3 09:36:26 2016 -0400
Commit: Brad King 
CommitDate: Thu Nov 3 09:36:26 2016 -0400

Merge branch 'release-3.6' into test-release


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9c507c13a0cffb163a1d56f34c020b5474a3e100
commit 9c507c13a0cffb163a1d56f34c020b5474a3e100
Author: Brad King 
AuthorDate: Wed Nov 2 11:46:41 2016 -0400
Commit: Brad King 
CommitDate: Wed Nov 2 11:46:41 2016 -0400

CMake 3.6.3

diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index 241cc8d..7d71044 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 6)
-set(CMake_VERSION_PATCH 2)
+set(CMake_VERSION_PATCH 3)
 #set(CMake_VERSION_RC 0)

---

Summary of changes:


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.7.0-rc2-930-gf4570ad

2016-11-03 Thread Brad King
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, next has been updated
   via  f4570ad0d275896fa14d09bfa871b938b4a3b894 (commit)
   via  20cc76c93a7f7ba1dd8a38e8311c0e9702395b27 (commit)
  from  54eed9ada656ea5f43d55d4e7b03945889365689 (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=f4570ad0d275896fa14d09bfa871b938b4a3b894
commit f4570ad0d275896fa14d09bfa871b938b4a3b894
Merge: 54eed9a 20cc76c
Author: Brad King 
AuthorDate: Thu Nov 3 09:28:50 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Nov 3 09:28:50 2016 -0400

Merge topic 'cpackifw-search-algorithm' into next

20cc76c9 CPackIFW: Update search to find QtIFW distributed with QtSDK


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=20cc76c93a7f7ba1dd8a38e8311c0e9702395b27
commit 20cc76c93a7f7ba1dd8a38e8311c0e9702395b27
Author: Konstantin Podsvirov 
AuthorDate: Wed Nov 2 23:15:07 2016 +0300
Commit: Brad King 
CommitDate: Thu Nov 3 09:28:15 2016 -0400

CPackIFW: Update search to find QtIFW distributed with QtSDK

Also avoid CMP0007 warnings.

diff --git a/Modules/CPackIFW.cmake b/Modules/CPackIFW.cmake
index 6c93ddb..08078cb 100644
--- a/Modules/CPackIFW.cmake
+++ b/Modules/CPackIFW.cmake
@@ -433,11 +433,15 @@
 
 # Default path
 
-set(_CPACK_IFW_PATHS
-  "${QTIFWDIR}"
-  "$ENV{QTIFWDIR}"
-  "${QTDIR}"
-  "$ENV{QTIFWDIR}")
+foreach(_CPACK_IFW_PATH_VAR "QTIFWDIR" "QTDIR")
+  if(DEFINED ${_CPACK_IFW_PATH_VAR}
+AND NOT "${${_CPACK_IFW_PATH_VAR}}" STREQUAL "")
+list(APPEND _CPACK_IFW_PATHS "${${_CPACK_IFW_PATH_VAR}}")
+  endif()
+  if(NOT "$ENV{${_CPACK_IFW_PATH_VAR}}" STREQUAL "")
+list(APPEND _CPACK_IFW_PATHS "$ENV{${_CPACK_IFW_PATH_VAR}}")
+  endif()
+endforeach()
 if(WIN32)
   list(APPEND _CPACK_IFW_PATHS
 "$ENV{HOMEDRIVE}/Qt"
@@ -447,22 +451,44 @@ else()
 "$ENV{HOME}/Qt"
 "/opt/Qt")
 endif()
-
-set(_CPACK_IFW_SUFFIXES
-# Common
-  "bin"
-# Second branch
-  "QtIFW2.3.0/bin"
-  "QtIFW2.2.0/bin"
-  "QtIFW2.1.0/bin"
-  "QtIFW2.0.3/bin"
-  "QtIFW2.0.1/bin"
-  "QtIFW2.0.0/bin"
-# First branch
-  "QtIFW-1.6.0/bin"
-  "QtIFW-1.5.0/bin"
-  "QtIFW-1.4.0/bin"
-  "QtIFW-1.3.0/bin")
+list(REMOVE_DUPLICATES _CPACK_IFW_PATHS)
+
+set(_CPACK_IFW_PREFIXES
+  # QtSDK
+  "Tools/QtInstallerFramework/"
+  # Second branch
+  "QtIFW"
+  # First branch
+  "QtIFW-")
+
+set(_CPACK_IFW_VERSIONS
+  "2.3"
+  "2.3.0"
+  "2.2"
+  "2.2.0"
+  "2.1"
+  "2.1.0"
+  "2.0"
+  "2.0.3"
+  "2.0.2"
+  "2.0.1"
+  "2.0.0"
+  "1.6"
+  "1.6.0"
+  "1.5"
+  "1.5.0"
+  "1.4"
+  "1.4.0"
+  "1.3"
+  "1.3.0")
+
+set(_CPACK_IFW_SUFFIXES "bin")
+foreach(_CPACK_IFW_PREFIX ${_CPACK_IFW_PREFIXES})
+  foreach(_CPACK_IFW_VERSION ${_CPACK_IFW_VERSIONS})
+list(APPEND
+  _CPACK_IFW_SUFFIXES "${_CPACK_IFW_PREFIX}${_CPACK_IFW_VERSION}/bin")
+  endforeach()
+endforeach()
 
 # Look for 'binarycreator'
 

---

Summary of changes:


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.7.0-rc2-928-g54eed9a

2016-11-03 Thread Brad King
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, next has been updated
   via  54eed9ada656ea5f43d55d4e7b03945889365689 (commit)
   via  4cb5d3353f488ee7bf3943619e67a5664dbae8df (commit)
  from  a279f9378ad9b8692230ddb9d74d8825d19c2a27 (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=54eed9ada656ea5f43d55d4e7b03945889365689
commit 54eed9ada656ea5f43d55d4e7b03945889365689
Merge: a279f93 4cb5d33
Author: Brad King 
AuthorDate: Thu Nov 3 09:01:41 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Nov 3 09:01:41 2016 -0400

Merge topic 'vs-flag-order' into next

4cb5d335 VS: Place source-specific AdditionalOptions after target-wide flags


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4cb5d3353f488ee7bf3943619e67a5664dbae8df
commit 4cb5d3353f488ee7bf3943619e67a5664dbae8df
Author: Brad King 
AuthorDate: Wed Nov 2 13:08:14 2016 -0400
Commit: Brad King 
CommitDate: Wed Nov 2 13:11:08 2016 -0400

VS: Place source-specific AdditionalOptions after target-wide flags

Flags specified in the `COMPILE_FLAGS` source-file property should
be placed after those in target-wide properties so that those on
individual source files can override those on the whole target.
This is already done by most generators but was not implemented
correctly for VS 2010 and above.

Closes: #16400

diff --git a/Help/release/dev/vs-flag-order.rst 
b/Help/release/dev/vs-flag-order.rst
new file mode 100644
index 000..21cea37
--- /dev/null
+++ b/Help/release/dev/vs-flag-order.rst
@@ -0,0 +1,9 @@
+vs-flag-order
+-
+
+* The :ref:`Visual Studio Generators` for VS 2010 and above now place
+  per-source file flags after target-wide flags when they are classified
+  as raw flags with no project file setting (``AdditionalOptions``).
+  This behavior is more consistent with the ordering of flags produced
+  by other generators, and allows flags on more-specific properties
+  (per-source) to override those on more general ones (per-target).
diff --git a/Source/cmVisualStudioGeneratorOptions.cxx 
b/Source/cmVisualStudioGeneratorOptions.cxx
index 4be183d..e751bfc 100644
--- a/Source/cmVisualStudioGeneratorOptions.cxx
+++ b/Source/cmVisualStudioGeneratorOptions.cxx
@@ -334,8 +334,9 @@ void 
cmVisualStudioGeneratorOptions::OutputAdditionalOptions(
   } else {
 fout << "";
   }
-  fout << cmVisualStudio10GeneratorOptionsEscapeForXML(this->FlagString)
-   << " %(AdditionalOptions)\n";
+  fout << "%(AdditionalOptions) "
+   << cmVisualStudio10GeneratorOptionsEscapeForXML(this->FlagString)
+   << "\n";
 } else {
   fout << prefix << "AdditionalOptions=\"";
   fout << cmVisualStudioGeneratorOptionsEscapeForXML(this->FlagString);

---

Summary of changes:
 Help/release/dev/vs-flag-order.rst|9 +
 Source/cmVisualStudioGeneratorOptions.cxx |5 +++--
 2 files changed, 12 insertions(+), 2 deletions(-)
 create mode 100644 Help/release/dev/vs-flag-order.rst


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.7.0-rc2-453-gdec0cfc

2016-11-03 Thread Brad King
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  dec0cfcef012ca762a731d6e096012fa1c072f14 (commit)
   via  a12e148b8a7611d097158bc2acf4ae19ed2c9d18 (commit)
   via  967e9aafda9054a3e963923d14514075225f7792 (commit)
   via  de25d988bccc2d81ce137d763246aadafda336ea (commit)
   via  5f7f0ab517d9f4fbc11292a1bada37a74ba69b97 (commit)
  from  acc2e03d798eeebdecd8198ae8eba495f8ccc5e7 (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:


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.7.0-rc2-926-ga279f93

2016-11-03 Thread Brad King
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, next has been updated
   via  a279f9378ad9b8692230ddb9d74d8825d19c2a27 (commit)
   via  dec0cfcef012ca762a731d6e096012fa1c072f14 (commit)
   via  a12e148b8a7611d097158bc2acf4ae19ed2c9d18 (commit)
   via  967e9aafda9054a3e963923d14514075225f7792 (commit)
   via  de25d988bccc2d81ce137d763246aadafda336ea (commit)
   via  5f7f0ab517d9f4fbc11292a1bada37a74ba69b97 (commit)
  from  5b24b80fd4b77b5078d2a6f49c988ba6c937c901 (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=a279f9378ad9b8692230ddb9d74d8825d19c2a27
commit a279f9378ad9b8692230ddb9d74d8825d19c2a27
Merge: 5b24b80 dec0cfc
Author: Brad King 
AuthorDate: Thu Nov 3 08:58:44 2016 -0400
Commit: Brad King 
CommitDate: Thu Nov 3 08:58:44 2016 -0400

Merge branch 'master' into next


---

Summary of changes:


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, release, updated. v3.7.0-rc2-36-g5f7f0ab

2016-11-03 Thread Brad King
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  5f7f0ab517d9f4fbc11292a1bada37a74ba69b97 (commit)
   via  ff3ccc1f2315d3de91ee6a90c8754ea554965c1d (commit)
  from  c555eca9ba8e518dd8f91159d94a2a2bf58916b0 (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/FindHDF5.cmake |   12 ++--
 1 file changed, 2 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.7.0-rc2-448-gacc2e03

2016-11-03 Thread Brad King
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  acc2e03d798eeebdecd8198ae8eba495f8ccc5e7 (commit)
   via  ff3ccc1f2315d3de91ee6a90c8754ea554965c1d (commit)
  from  3dd99758d1f912d0edc2df05b6d2cfabd5005efe (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=acc2e03d798eeebdecd8198ae8eba495f8ccc5e7
commit acc2e03d798eeebdecd8198ae8eba495f8ccc5e7
Merge: 3dd9975 ff3ccc1
Author: Brad King 
AuthorDate: Thu Nov 3 08:54:43 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Nov 3 08:54:43 2016 -0400

Merge topic 'FindHDF5-restore-default-C'

ff3ccc1f FindHDF5: Restore pre-3.6 behavior of finding only C by default


---

Summary of changes:
 Modules/FindHDF5.cmake |   12 ++--
 1 file changed, 2 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.7.0-rc2-444-ge106a6e

2016-11-03 Thread Brad King
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  e106a6eafb42dd3c6557e964e04339dcd5787ad4 (commit)
   via  9a8d758c3a27833dccf21102ae753de314684b0d (commit)
   via  df252db15a0e539be255536417f36045301db02c (commit)
   via  6d5fb0e0d0464d50ae58673bf5543b0d052dc681 (commit)
   via  a34b98a834bf6ac044e8590c3fe644c9307124e9 (commit)
   via  b0996a3fa223370edcdb40a1d8b66d1a3a734daf (commit)
   via  8b6cc2518a8019314af43a32702a09bff318b777 (commit)
   via  2d23f7b206c908e55999143487548e2d6a92bc79 (commit)
  from  90e09fb958e761b416863052ca5408ed4280443b (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=e106a6eafb42dd3c6557e964e04339dcd5787ad4
commit e106a6eafb42dd3c6557e964e04339dcd5787ad4
Merge: 90e09fb 9a8d758
Author: Brad King 
AuthorDate: Thu Nov 3 08:54:33 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Nov 3 08:54:33 2016 -0400

Merge topic 'compile-features-for-language-standards'

9a8d758c Help: Document language standard meta-features
df252db1 Features: Test cycle diagnostic with language standard meta-feature
6d5fb0e0 Features: Test feature propagation with language standard 
meta-feature
a34b98a8 WCDH: Ignore language standard meta-features
b0996a3f Features: Add meta-features requesting awareness of a particular 
standard
8b6cc251 Features: Centralize per-compiler recording macros
2d23f7b2 Features: Do not record features on MSVC < 2010


---

Summary of changes:
 Help/manual/cmake-compile-features.7.rst   |   27 
 Help/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.rst |9 +++
 Help/prop_gbl/CMAKE_C_KNOWN_FEATURES.rst   |9 +++
 .../compile-features-for-language-standards.rst|7 +
 Modules/Compiler/AppleClang-C.cmake|   10 +++-
 Modules/Compiler/AppleClang-CXX.cmake  |   10 +++-
 Modules/Compiler/Clang-C.cmake |   10 +++-
 Modules/Compiler/Clang-CXX.cmake   |   10 +++-
 Modules/Compiler/GNU-C.cmake   |   10 +++-
 Modules/Compiler/GNU-CXX.cmake |   10 +++-
 Modules/Compiler/Intel-C.cmake |   10 +++-
 Modules/Compiler/Intel-CXX.cmake   |   10 +++-
 Modules/Compiler/MSVC-CXX.cmake|9 ++-
 Modules/Compiler/SunPro-CXX.cmake  |   10 +++-
 Modules/Internal/FeatureTesting.cmake  |   12 -
 Modules/WriteCompilerDetectionHeader.cmake |7 -
 Source/cmake.h |6 +
 Tests/CompileFeatures/CMakeLists.txt   |   10 +---
 .../LinkImplementationFeatureCycle.cmake   |4 +--
 .../LinkImplementationFeatureCycleSolved.cmake |2 +-
 20 files changed, 120 insertions(+), 72 deletions(-)
 create mode 100644 Help/release/dev/compile-features-for-language-standards.rst


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.7.0-rc2-446-g3dd9975

2016-11-03 Thread Brad King
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  3dd99758d1f912d0edc2df05b6d2cfabd5005efe (commit)
   via  baead1e2a8ff7938f6be9c5fc01762e2ace9 (commit)
  from  e106a6eafb42dd3c6557e964e04339dcd5787ad4 (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=3dd99758d1f912d0edc2df05b6d2cfabd5005efe
commit 3dd99758d1f912d0edc2df05b6d2cfabd5005efe
Merge: e106a6e baead1e
Author: Brad King 
AuthorDate: Thu Nov 3 08:54:37 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Nov 3 08:54:37 2016 -0400

Merge topic 'remove-utf8-option'

baead1e2 Encoding: Remove option to use ANSI code page internally


---

Summary of changes:
 CMakeLists.txt|8 ++
 Source/CPack/WiX/cmCPackWIXGenerator.cxx  |3 +--
 Source/CPack/WiX/cmWIXSourceWriter.cxx|   41 +
 Source/CPack/WiX/cmWIXSourceWriter.h  |2 --
 Source/QtDialog/CMakeSetup.cxx|2 --
 Source/cmConfigure.cmake.h.in |1 -
 Source/cmFileCommand.cxx  |6 ++---
 Source/cmGlobalVisualStudio7Generator.cxx |8 +-
 8 files changed, 8 insertions(+), 63 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.7.0-rc2-920-g5b24b80

2016-11-03 Thread Brad King
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, next has been updated
   via  5b24b80fd4b77b5078d2a6f49c988ba6c937c901 (commit)
   via  acc2e03d798eeebdecd8198ae8eba495f8ccc5e7 (commit)
   via  3dd99758d1f912d0edc2df05b6d2cfabd5005efe (commit)
   via  e106a6eafb42dd3c6557e964e04339dcd5787ad4 (commit)
   via  90e09fb958e761b416863052ca5408ed4280443b (commit)
   via  ffe78961ada28f3777066228b4e5870889b42f70 (commit)
  from  17c1cb103036976fed9b4b476654821629c177a0 (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=5b24b80fd4b77b5078d2a6f49c988ba6c937c901
commit 5b24b80fd4b77b5078d2a6f49c988ba6c937c901
Merge: 17c1cb1 acc2e03
Author: Brad King 
AuthorDate: Thu Nov 3 08:54:56 2016 -0400
Commit: Brad King 
CommitDate: Thu Nov 3 08:54:56 2016 -0400

Merge branch 'master' into next


---

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
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v3.7.0-rc2-436-g90e09fb

2016-11-03 Thread Brad King
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  90e09fb958e761b416863052ca5408ed4280443b (commit)
   via  b902f2a98a6764857f74608250219186f262a207 (commit)
  from  ffe78961ada28f3777066228b4e5870889b42f70 (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=90e09fb958e761b416863052ca5408ed4280443b
commit 90e09fb958e761b416863052ca5408ed4280443b
Merge: ffe7896 b902f2a
Author: Brad King 
AuthorDate: Thu Nov 3 08:54:28 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Nov 3 08:54:28 2016 -0400

Merge topic 'intel-compile-features-windows'

b902f2a9 Features: Fix Intel cxx_attributes existence condition


---

Summary of changes:
 Modules/Compiler/Intel-CXX-FeatureTests.cmake |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.7.0-rc2-914-g17c1cb1

2016-11-03 Thread Brad King
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, next has been updated
   via  17c1cb103036976fed9b4b476654821629c177a0 (commit)
   via  b902f2a98a6764857f74608250219186f262a207 (commit)
  from  efb416046626b3c9332dde3a2e20ace755d58b9a (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=17c1cb103036976fed9b4b476654821629c177a0
commit 17c1cb103036976fed9b4b476654821629c177a0
Merge: efb4160 b902f2a
Author: Brad King 
AuthorDate: Thu Nov 3 08:51:01 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Nov 3 08:51:01 2016 -0400

Merge topic 'intel-compile-features-windows' into next

b902f2a9 Features: Fix Intel cxx_attributes existence condition


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b902f2a98a6764857f74608250219186f262a207
commit b902f2a98a6764857f74608250219186f262a207
Author: Brad King 
AuthorDate: Thu Nov 3 08:38:23 2016 -0400
Commit: Brad King 
CommitDate: Thu Nov 3 08:38:23 2016 -0400

Features: Fix Intel cxx_attributes existence condition

This condition needs to follow the same pattern added in note `[1]` by
commit a5a3642f (Features: Port Intel CXX features to test macros where
possible, 2016-10-26).  It was accidentally left out of that commit.

diff --git a/Modules/Compiler/Intel-CXX-FeatureTests.cmake 
b/Modules/Compiler/Intel-CXX-FeatureTests.cmake
index 5b74fab..d1a3433 100644
--- a/Modules/Compiler/Intel-CXX-FeatureTests.cmake
+++ b/Modules/Compiler/Intel-CXX-FeatureTests.cmake
@@ -88,7 +88,7 @@ set(_cmake_feature_test_cxx_variadic_templates 
"(__cpp_variadic_templates >= 200
 set(_cmake_feature_test_cxx_alias_templates "${Intel121_CXX11}")
 set(_cmake_feature_test_cxx_nullptr "${Intel121_CXX11}")
 set(_cmake_feature_test_cxx_trailing_return_types "${Intel121_CXX11}")
-set(_cmake_feature_test_cxx_attributes "__cpp_attributes >= 200809 || 
${Intel121}")
+set(_cmake_feature_test_cxx_attributes "(__cpp_attributes >= 200809 || 
${Intel121}) && ${DETECT_CXX11}") # [1]
 set(_cmake_feature_test_cxx_default_function_template_args "${Intel121_CXX11}")
 set(_cmake_feature_test_cxx_extended_friend_declarations "${Intel121_CXX11}")
 set(_cmake_feature_test_cxx_rvalue_references "(__cpp_rvalue_references >= 
200610 || ${Intel121}) && ${DETECT_CXX11}") # [1]

---

Summary of changes:
 Modules/Compiler/Intel-CXX-FeatureTests.cmake |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v3.7.0-rc2-912-gefb4160

2016-11-03 Thread Brad King
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, next has been updated
   via  efb416046626b3c9332dde3a2e20ace755d58b9a (commit)
   via  47392375887e09e6e69ce178f870f9ca9e639298 (commit)
  from  d44f19273550c193ef643db5fc9ac6aff13ce85b (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=efb416046626b3c9332dde3a2e20ace755d58b9a
commit efb416046626b3c9332dde3a2e20ace755d58b9a
Merge: d44f192 4739237
Author: Brad King 
AuthorDate: Thu Nov 3 08:14:23 2016 -0400
Commit: CMake Topic Stage 
CommitDate: Thu Nov 3 08:14:23 2016 -0400

Merge topic 'cpackifw-search-algorithm' into next

47392375 CPackIFW: Updated search algorithm


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=47392375887e09e6e69ce178f870f9ca9e639298
commit 47392375887e09e6e69ce178f870f9ca9e639298
Author: Konstantin Podsvirov 
AuthorDate: Wed Nov 2 23:15:07 2016 +0300
Commit: Konstantin Podsvirov 
CommitDate: Wed Nov 2 23:15:07 2016 +0300

CPackIFW: Updated search algorithm

Improviments:
- Look for QtIFW distributed with QtSDK;
- Do not give a reason for the CMP0007 warning.

diff --git a/Modules/CPackIFW.cmake b/Modules/CPackIFW.cmake
index 6c93ddb..08078cb 100644
--- a/Modules/CPackIFW.cmake
+++ b/Modules/CPackIFW.cmake
@@ -433,11 +433,15 @@
 
 # Default path
 
-set(_CPACK_IFW_PATHS
-  "${QTIFWDIR}"
-  "$ENV{QTIFWDIR}"
-  "${QTDIR}"
-  "$ENV{QTIFWDIR}")
+foreach(_CPACK_IFW_PATH_VAR "QTIFWDIR" "QTDIR")
+  if(DEFINED ${_CPACK_IFW_PATH_VAR}
+AND NOT "${${_CPACK_IFW_PATH_VAR}}" STREQUAL "")
+list(APPEND _CPACK_IFW_PATHS "${${_CPACK_IFW_PATH_VAR}}")
+  endif()
+  if(NOT "$ENV{${_CPACK_IFW_PATH_VAR}}" STREQUAL "")
+list(APPEND _CPACK_IFW_PATHS "$ENV{${_CPACK_IFW_PATH_VAR}}")
+  endif()
+endforeach()
 if(WIN32)
   list(APPEND _CPACK_IFW_PATHS
 "$ENV{HOMEDRIVE}/Qt"
@@ -447,22 +451,44 @@ else()
 "$ENV{HOME}/Qt"
 "/opt/Qt")
 endif()
-
-set(_CPACK_IFW_SUFFIXES
-# Common
-  "bin"
-# Second branch
-  "QtIFW2.3.0/bin"
-  "QtIFW2.2.0/bin"
-  "QtIFW2.1.0/bin"
-  "QtIFW2.0.3/bin"
-  "QtIFW2.0.1/bin"
-  "QtIFW2.0.0/bin"
-# First branch
-  "QtIFW-1.6.0/bin"
-  "QtIFW-1.5.0/bin"
-  "QtIFW-1.4.0/bin"
-  "QtIFW-1.3.0/bin")
+list(REMOVE_DUPLICATES _CPACK_IFW_PATHS)
+
+set(_CPACK_IFW_PREFIXES
+  # QtSDK
+  "Tools/QtInstallerFramework/"
+  # Second branch
+  "QtIFW"
+  # First branch
+  "QtIFW-")
+
+set(_CPACK_IFW_VERSIONS
+  "2.3"
+  "2.3.0"
+  "2.2"
+  "2.2.0"
+  "2.1"
+  "2.1.0"
+  "2.0"
+  "2.0.3"
+  "2.0.2"
+  "2.0.1"
+  "2.0.0"
+  "1.6"
+  "1.6.0"
+  "1.5"
+  "1.5.0"
+  "1.4"
+  "1.4.0"
+  "1.3"
+  "1.3.0")
+
+set(_CPACK_IFW_SUFFIXES "bin")
+foreach(_CPACK_IFW_PREFIX ${_CPACK_IFW_PREFIXES})
+  foreach(_CPACK_IFW_VERSION ${_CPACK_IFW_VERSIONS})
+list(APPEND
+  _CPACK_IFW_SUFFIXES "${_CPACK_IFW_PREFIX}${_CPACK_IFW_VERSION}/bin")
+  endforeach()
+endforeach()
 
 # Look for 'binarycreator'
 

---

Summary of changes:
 Modules/CPackIFW.cmake |   68 +---
 1 file changed, 47 insertions(+), 21 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/mailman/listinfo/cmake-commits


Re: [cmake-developers] Add property to get all linked libraries including transitive ones

2016-11-03 Thread Brad King
On 11/02/2016 04:23 PM, maikel van den Hurk wrote:
> We are trying to develop a proper C++ dependency management tool
> ...be able to get all transitive linked libraries

The cmake-server mode introduced in 3.7 was created to support tooling.
Perhaps something with that can be made to work if it doesn't provide
the needed information already.

-Brad

-- 

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:
http://public.kitware.com/mailman/listinfo/cmake-developers


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 feature), then I tried to build the unit test 
and I still don't see the shortcut directives on the wix files.


Am I doing something wrong, or is this a regression?


Which CMake version are you actually using?
This feature was implemented in CMake 3.3.0.



https://github.com/ngladitz/cmake-wix-testsuite/blob/d01013e2066e68088b4f56a8ab7750eb3cea7089/property_start_menu_shortcuts/CMakeLists.txt


This still works for me using CMake 3.7.0-rc2.

CMake 3.7.0-rc2's own windows installer uses the same feature for the 
start menu shortcut to the documentation which also seems to work for me.


Nils
--

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:
http://public.kitware.com/mailman/listinfo/cmake