[cmake-developers] Tests and cmake_minimum_required question

Alexander Neundorf neundorf at kde.org
Sat Feb 15 15:53:29 EST 2014


On Saturday, February 15, 2014 13:12:41 Steve Wilson wrote:
> When developing a new feature, we add tests to the test suite.   Some of
> those tests require CMakeLists.txt with the cmake_minimum_required(VERSION
> …)/project() commands.   If you are testing a brand new feature, what
> version number should be used with cmake_minimum_required?

since the cmake which has just been built will be used, requiring the current 
version should be ok.
OTOH, beside setting policies, it shouldn't matter much, except in cases where 
policies are involved.

Alex




More information about the cmake-developers mailing list