On 10/01/14 21:19, Alexander Neundorf wrote: > Should the full version "1.2.3" be put into PROJECT_VERSION or > PROJECT_VERSION_STRING ? > Both forms are used in different places in cmake.
I usually consider PROJECT_VERSION = Major.Minor.Patch and PROJECT_VERSION_STRING as a customizable string that can be assigned by the developer (i.e. PROJECT_VERSION "1.9.90" could be PROJECT_VERSION_STRING "2.0 Beta 1"), therefore I'd say PROJECT_VERSION Maybe the signature could even be project(Foo VERSION 1.9.90 VERSION_STRING "2.0 Beta 1") with "VERSION_STRING" defaulting to "VERSION" Cheers, Daniele -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers