[Cmake-commits] CMake branch, master, updated. v3.12.1-435-gb82de2a

2018-08-17 Thread Kitware Robot
t a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index d4c046b..08bc5db 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 12) -set(CMake_VERSION_PATCH 20180817) +set(CMake_VER

[Cmake-commits] CMake branch, release, updated. v3.12.1-3-g7e919ac

2018-08-17 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 7e919ace319514282209663767525fb3855e5fa4 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.12.1-434-gffea7a4

2018-08-17 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 ffea7a479c21f839a25a69d5d31f797868b32898 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.12.1-432-g6b10893

2018-08-17 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 6b1089399a54269b8e12830a655dc9f0ae18995a (commit) via

[Cmake-commits] CMake branch, master, updated. v3.12.1-429-g43027ce

2018-08-17 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 43027ce56dfc8b11519a4ef1a11f5543d8568e03 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.12.1-427-g786af7a

2018-08-17 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 786af7a7116ff4c7703f9dc3b6eaee1d8099ad2b (commit) via

Re: [cmake-developers] unset and cache variables

2018-08-17 Thread James Touton
The issue with unset(BLAH CACHE) is that it removes the cache entry. I want to make BLAH undefined in the current scope, without impacting other scopes. Re: lookup, thanks; I get that now. On Fri, Aug 17, 2018 at 5:22 AM, Robert Maynard wrote: > > I can never actually make it become

[CMake] Best practice for configuration-dependent defaults?

2018-08-17 Thread Sam Edwards
Hi all! I have a project with some options that have different defaults depending on the configuration used to build the project. For example, support for a certain (easy to support, but relatively uncommon) file format should be on by default, except when building in the MinSizeRel

Re: [CMake] Why does CMake 3.9.0 open VS2017 when targeting 2013 after installing 2017... sigh.

2018-08-17 Thread Brian Davis
> > Can't that be set by passing the toolset with a -T > > That is what I was trying to say with my last sentence. You will need > to use CMake 3.12 to have support for specifying the minor toolset > version though. > > >>> > >>> The MSVC / CUDA support recently has been very challenging to

Re: [cmake-developers] unset and cache variables

2018-08-17 Thread Robert Maynard
> I can never actually make it become undefined You can, you are missing unset(BLAH CACHE) to tell CMake you want to undefine the CACHE varibles > I had been operating under the assumption that there was only one active > lookup scope Nope CMake lookup is local scope, and than cache. That is

Re: [CMake] Expected behaviour of #cmakedefine

2018-08-17 Thread Ian Cullen
Agreed, version numbers will never not be set so #define is the better choice in this case. However this seems like an easy thing for users to trip-up on, particularly as only #cmakedefine is used in the configure_file() manual page. Perhaps an additional example, or an INFO/WARNING section