[osg-users] Community Feedback Required : What minimum CMake version should we require?

michael kapelko kornerr at gmail.com
Thu Jun 9 07:59:33 PDT 2016


Hi.
For all of my projects I use 2.8 as minimum. I remember that I started
using CMake when it was 2.6.
Looking at CMake release history (
https://cmake.org/Wiki/CMake_Released_Versions ) 2.8.0 was released in 2009.
Debian 6 ( https://archive.debian.net/squeeze/devel/cmake , released in
2011)  had 2.8.2.
Ubuntu 12.04 LTS Precise (
http://packages.ubuntu.com/search?keywords=cmake&searchon=names&suite=precise&section=all
, released in 2012 and supported up to 2017) had 2.8.7.
For Windows and OS X it's easy to download the most up-to-date version.

So I suggest using 2.8 as minimum. Distros that was released in 2012 and
after are definitely covered.

2016-06-08 23:49 GMT+07:00 Robert Osfield <robert.osfield at gmail.com>:

> Hi All,
>
> We have various optional script paths in our CMake build system to try
> and keep things working on older CMake versions, the minimum currently
> is set in OpenSceneGraph/CMakeLists.txt:
>
> IF(WIN32)
>     CMAKE_MINIMUM_REQUIRED(VERSION 2.4.6 FATAL_ERROR)
> ELSE(WIN32)
>     IF(APPLE)
>         CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0 FATAL_ERROR)
>     ELSE(APPLE)
>         CMAKE_MINIMUM_REQUIRED(VERSION 2.4.4 FATAL_ERROR)
>     ENDIF(APPLE)
> ENDIF(WIN32)
>
>
> This bit of script is ancient though, something coded in when we first
> added CMake build system.  Fast forward today, can we up the require
> version to 2.6?  2.8?
>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160609/b3dc6b60/attachment-0003.htm>


More information about the osg-users mailing list