[vtk-developers] Proposal to bump CMake minimum version to 2.8.8

Marcus D. Hanwell marcus.hanwell at kitware.com
Tue Jul 30 15:06:32 EDT 2013


Hi,

I propose that we bump our CMake minimum version to from 2.8.5 to
2.8.8 (going from a version released in July 2011 to one released in
April 2012). My main motivation is so that we can add private
dependencies to modules using the public/private interface library
API, and make use of per-target include directories. There are several
other minor feature improvements and additions, and with 6.0 just
released we have approximately half a year until distributions will
begin packaging this version.

Private dependencies would let us clearly define what is an interface
library, and what is limited to implementation and does not need to be
added to link lines for dependent libraries (when building shared at
least). This would also allow us to reduce the number of include
directories to those in the current private set and the accumulated
public set and should improve compilation speed.

I think most of our dashboards already have 2.8.8 as other projects
already require this or later, and it would allow us to simplify some
of our CMake code that was condiitionally using some of these new
features.

Thanks,

Marcus



More information about the vtk-developers mailing list