extra-cmake-modules: ECM_VERSION() macro

Stephen Kelly steveire at gmail.com
Wed Nov 30 02:26:41 UTC 2011


Alexander Neundorf wrote:

> Hi,
> 
> in extra-cmake-modules we have a file ECMVersion.cmake, which contains a
> macro ecm_version().
> 
> This macro is not documented, and "ecm_version()" is not a good name for a
> function (or macro), since it doesn't contain a verb.
> 
> How is this macro intended to be used ?
> Is it intended to be "public" or is it used only internally ?
> 
> We have to be careful, once we ship a release we must keep compatibility.
> 
> Alex

Each framework uses it in the frameworks branch. The idea is to have a 
compact way to set the version which could be updated by scripty (as there 
may be many more places where the version needs to be updated on release)



More information about the Kde-buildsystem mailing list