Re: KDevelop-PG-Qt version checks

2012-12-03 Thread Alexander Neundorf
On Thursday 29 November 2012, Andreas Pakulat wrote: Hi, assuming you have kdelibs development stuff installed you could look at MacroWriteBasicCMakeVersionFile.cmake and BasicFindPackageVersion.cmake.in for inspiration. Those files come with cmake since 2.8.3 or so. Alex

KDevelop-PG-Qt version checks

2012-11-29 Thread Jonathan Schmidt-Dominé
Hi, could somebody have a look on my cmake-code I inserted in KDevelop-PG-Qt for transition from 1.0.0 to 1.0.1? We want to create a 1.0.1 bugfix release (it is compatible with 1.0.0) soon. It seems to work, but I’m not a cmake expert, maybe it is not the correct way to implement those checks:

Re: KDevelop-PG-Qt version checks

2012-11-29 Thread Andreas Pakulat
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