KDE version string not in build system available

Laurent Montel montel at kde.org
Wed Jun 20 10:30:53 CEST 2007


On Wednesday 20 June 2007 10:13:35 Stephan Kulow wrote:
> Am Mittwoch 20 Juni 2007 schrieb Ralf Habacker:
> > Hi,
> >
> > for win32 packaging of kdelibs I need the recent KDE version string in
> > the build system which is only available at c++ level yet provided by
> > the file kdecore/util/kdeversion.h which defines some VERSION macros
> >
> > #define KDE_VERSION_STRING "3.90.1 (KDE 4.0 >= 20070518)"
> > /// @brief Major version of KDE, at compile time
> > #define KDE_VERSION_MAJOR 3
> > /// @brief Minor version of KDE, at compile time
> > #define KDE_VERSION_MINOR 90
> > /// @brief Release version of KDE, at compile time
> > #define KDE_VERSION_RELEASE 1
> >
> > If there are no objectivities I would place this into the top level
> > CMakeLists.txt and generate kdeversion.h in top level build root from it
> > according the followin cmake code snippets
>
> You should also install the values by means of KDELibsDependencies.cmake

Yes it will great.
Add this value into kdelibs/CMakeLists.txt.
Thanks
Regards

> Greetings, Stephan
> _______________________________________________
> Kde-buildsystem mailing list
> Kde-buildsystem at kde.org
> https://mail.kde.org/mailman/listinfo/kde-buildsystem


More information about the Kde-buildsystem mailing list