KDevelop-PG-Qt version checks

Andreas Pakulat apaku at gmx.de
Thu Nov 29 21:11:58 UTC 2012


Hi,

assuming you have kdelibs development stuff installed you could look
at MacroWriteBasicCMakeVersionFile.cmake and
BasicFindPackageVersion.cmake.in for inspiration.

Unless you want to support CMake 2.6, you should probably use
VERSION_LESS & Co for the actual checks.

I also don't think you should set the version number in the
config-file, thats being done by cmake already IIRC.

Andreas

On Thu, Nov 29, 2012 at 5:15 PM, Jonathan Schmidt-Dominé
<devel at the-user.org> wrote:
> http://quickgit.kde.org/?p=kdevelop-pg-
> qt.git&a=blob&h=331c519f182ea567e7143a2df6a4602885dc683a&hb=97e140477e7247ec8c823cdc54500b5691d9a896&f=cmake%2Fmodules%2FKDevelop-
> PG-QtConfigVersion.cmake


More information about the Kde-buildsystem mailing list