Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-14 Thread Yury G. Kudryashov
Brad King wrote: On 2/13/2012 4:52 PM, Alexander Neundorf wrote: we are hoping that more and more libraries will install Config.cmake files (and for kdelibs this is actually happening right now), so we should make sure it is straighforward to create proper Config.cmake files. This is a

[cmake-developers] [CMake 0012963]: VS10 /MANIFESTUAC:NO not working properly

2012-02-14 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=12963 == Reported By:birken Assigned To:

[cmake-developers] All 4 nightly builds worked last night!

2012-02-14 Thread Bill Hoffman
After a long break, all of the nightly builds are back: http://www.cdash.org/CDash/viewTest.php?onlypassedbuildid=2004336 It has been some time, according to CDash: Tests have been failing since 2012-01-02T00:32:26 EST (42 days) The main trouble was the upgrade in Qt that was required.

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-14 Thread Alexander Neundorf
On Monday 13 February 2012, Brad King wrote: On 2/13/2012 4:52 PM, Alexander Neundorf wrote: we are hoping that more and more libraries will install Config.cmake files (and for kdelibs this is actually happening right now), so we should make sure it is straighforward to create proper

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-14 Thread Brad King
On 2/14/2012 1:26 PM, Alexander Neundorf wrote: Well, CMakeConfigHelpers.cmake would be shipped with cmake, so as long as the Config.cmake file says cmake_minimum_required(VERSION 2.8.8) it would be fine. ...and we have to maintain compatibility in the module no matter what. It is much easier

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-14 Thread Alexander Neundorf
On Tuesday 14 February 2012, Yury G. Kudryashov wrote: Brad King wrote: On 2/13/2012 4:52 PM, Alexander Neundorf wrote: we are hoping that more and more libraries will install Config.cmake files (and for kdelibs this is actually happening right now), so we should make sure it is

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-14 Thread Alexander Neundorf
On Tuesday 14 February 2012, Brad King wrote: On 2/14/2012 1:26 PM, Alexander Neundorf wrote: Well, CMakeConfigHelpers.cmake would be shipped with cmake, so as long as the Config.cmake file says cmake_minimum_required(VERSION 2.8.8) it would be fine. ...and we have to maintain

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-14 Thread Yury G. Kudryashov
Alexander Neundorf wrote: On Tuesday 14 February 2012, Yury G. Kudryashov wrote: will substitute @PACKAGE_INCLUDE_INSTALL_DIR@ by ../../../include and @PACKAGE_MYPKGDATA_INSTALL_DIR@ by ../../../share/mypkg (both transformed to be relative to DESTINATION). A problem I see here (and which

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-14 Thread Yury G. Kudryashov
Alexander Neundorf wrote: On Tuesday 14 February 2012, Brad King wrote: Alternatively, Yuri suggested this in a thread on kde-buildsystem, there could be a macro which completely generates the Config.cmake file. This would get rid of a bunch of problems, like having to write complicated code

Re: [cmake-developers] Making Config.cmake files easier to write

2012-02-14 Thread Brad King
On 2/14/2012 2:44 PM, Alexander Neundorf wrote: In the BarConfig.cmake file there would still be either a set(BAR_INCLUDE_DIR @INCLUDE_INSTALL_DIR@) which would work for absolute paths, or a set(BAR_INCLUDE_DIR ${SomePrefix}/@INCLUDE_INSTALL_DIR@) which would work only for relative paths, but