Re: [cmake-developers] CMP0043 warnings everywhere

2014-04-29 Thread Alexander Neundorf
On Monday, April 28, 2014 10:26:56 James Bigler wrote: -Original Message- From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of Brad King Sent: Wednesday, April 23, 2014 11:06 AM To: cmake-developers@cmake.org Subject: Re: [cmake-developers] CMP0043

Re: [cmake-developers] CMP0043 warnings everywhere

2014-04-29 Thread Alexander Neundorf
On Monday, April 28, 2014 13:39:09 Brad King wrote: On 04/28/2014 01:26 PM, James Bigler wrote: I thought the purpose of policies was to keep some backward compatibility feature, but allow users to select the new behavior. The purpose is to change CMake interfaces or behavior while still

Re: [cmake-developers] CMP0043 warnings everywhere

2014-04-29 Thread Brad King
On 04/29/2014 04:25 PM, Alexander Neundorf wrote: Or, you could fix your project to not use the behavior deprecated by the policy. Other reasons are e.g. avoiding to annoy your developer team by warnings which don't matter (the build has been working, so there's no need to change it).

Re: [cmake-developers] CMP0043 warnings everywhere

2014-04-29 Thread Ben Boeckel
On Tue, Apr 29, 2014 at 22:59:50 +0200, Alexander Neundorf wrote: I was talking in general about these warnings. Typically some project has a working build system (...otherwise it wouldn't build), and after updating cmake, warnings appear. Since the build is working, there is no immediate need

Re: [cmake-developers] CMP0043 warnings everywhere

2014-04-29 Thread Ben Boeckel
On Tue, Apr 29, 2014 at 22:31:27 -0400, Ben Boeckel wrote: Actually, should 3.0 warn about cmake_minimum_required(VERSION 2.4.0)? Silly me; 2.4.0 behavior is dropped and 2.2 does indeed warn. :) --Ben -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [cmake-developers] CMP0043 warnings everywhere

2014-04-28 Thread James Bigler
-Original Message- From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On Behalf Of Brad King Sent: Wednesday, April 23, 2014 11:06 AM To: cmake-developers@cmake.org Subject: Re: [cmake-developers] CMP0043 warnings everywhere On 04/23/2014 12:57 PM, James Bigler

[cmake-developers] CMP0043 warnings everywhere

2014-04-23 Thread James Bigler
I'm getting tons of CMP0043 warnings on my existing project. I have cmake_policy(VERSION 2.6) set in my project. Why am I being pestered by warnings? Shouldn't I get a policy value appropriate for 2.6 (so CMP0043 should be set to OLD)? CMake Warning (dev) in src/CMakeLists.txt: Policy CMP0043

Re: [cmake-developers] CMP0043 warnings everywhere

2014-04-23 Thread Brad King
On 04/23/2014 12:57 PM, James Bigler wrote: I'm getting tons of CMP0043 warnings on my existing project. I have cmake_policy(VERSION 2.6) set in my project. Why am I being pestered by warnings? Shouldn't I get a policy value appropriate for 2.6 (so CMP0043 should be set to OLD)? Setting