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@kde.org > https://mail.kde.org/mailman/listinfo/kde-buildsystem _______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem