KDE version string not in build system available

Stephan Kulow coolo at kde.org
Wed Jun 20 10:13:35 CEST 2007


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

Greetings, Stephan


More information about the Kde-buildsystem mailing list