Re: [CMake] warn if features used that require >cmake-x.y

2015-07-04 Thread Hendrik Sattler
Am 3. Juli 2015 20:23:26 MESZ, schrieb Alexander Neundorf : >On Thursday, July 02, 2015 04:13:40 Stuermer, Michael SP/HZA-ZSEP >wrote: >> Have a look at cmake_minimum_required() and cmake_policy(). I think >with >> these both it should be possible to verify you are using a cmake >version >> tha

Re: [CMake] warn if features used that require >cmake-x.y

2015-07-03 Thread Alexander Neundorf
On Thursday, July 02, 2015 04:13:40 Stuermer, Michael SP/HZA-ZSEP wrote: > Have a look at cmake_minimum_required() and cmake_policy(). I think with > these both it should be possible to verify you are using a cmake version > that provides all features which are required by your project. no, what

Re: [CMake] warn if features used that require >cmake-x.y

2015-07-03 Thread Alexander Neundorf
On Friday, July 03, 2015 09:33:42 Glenn Coombs wrote: > I don't think policies are sufficient. I just tried using the new > target_sources command that was introduced in CMake 3.1.0 in a > CMakeLists.txt file that specified cmake_minimum_required(VERSION 3.0) and > it didn't warn that the CMakeLis

Re: [CMake] warn if features used that require >cmake-x.y

2015-07-03 Thread Glenn Coombs
rom: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Nicolas Bock > > Sent: Wednesday, July 01, 2015 8:29 PM > > To: cmake@cmake.org > > Subject: [CMake] warn if features used that require >cmake-x.y > > > > Hi, > > > > is there a way t

Re: [CMake] warn if features used that require >cmake-x.y

2015-07-01 Thread Stuermer, Michael SP/HZA-ZSEP
ke@cmake.org > Subject: [CMake] warn if features used that require >cmake-x.y > > Hi, > > is there a way to get CMake to warn if a feature is used that requires > a cmake version greater than some version x.y? > > Thanks, > > nick > -- > > Powered by www.ki

[CMake] warn if features used that require >cmake-x.y

2015-07-01 Thread Nicolas Bock
Hi, is there a way to get CMake to warn if a feature is used that requires a cmake version greater than some version x.y? Thanks, nick -- 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