KDE version string not in build system available

Alexander Neundorf neundorf at kde.org
Thu Jun 21 03:34:37 CEST 2007


On Wednesday 20 June 2007 04:30, Laurent Montel wrote:
> 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

Yes, this should be a generated header.

Thanks
Alex


More information about the Kde-buildsystem mailing list