Re: [cmake-developers] How to handle package Config.cmake files with dependencies ?

2012-03-07 Thread Michael Hertling
On 02/27/2012 10:05 PM, Brad King wrote: On 2/27/2012 3:37 PM, Michael Wild wrote: On 02/27/2012 09:15 PM, Alexander Neundorf wrote: When the FooConfig.cmake has been found, Foo_FOUND is set to TRUE: // Set a variable marking whether the package was found. std::string foundVar =

Re: [cmake-developers] How to handle package Config.cmake files with dependencies ?

2012-03-07 Thread Michael Hertling
On 02/27/2012 09:15 PM, Alexander Neundorf wrote: Hi, I think find_package in Config mode might still need some more work. When the FooConfig.cmake has been found, Foo_FOUND is set to TRUE: // Set a variable marking whether the package was found. std::string foundVar = this-Name;

Re: [cmake-developers] How to handle package Config.cmake files with dependencies ?

2012-03-07 Thread Brad King
On 3/7/2012 9:49 AM, Michael Hertling wrote: been found, but in module mode, AFAIK, it's set to Foo_DIR-NOTFOUND even if a find module has succeeded The Foo_DIR variable is not set or added to the cache at all if a FindFoo module is loaded regardless of whether it succeeds. It is only if no

Re: [cmake-developers] Ninja windows

2012-03-07 Thread David Cole
On Wed, Mar 7, 2012 at 5:24 PM, David Cole david.c...@kitware.com wrote: On Wed, Mar 7, 2012 at 5:10 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 3/6/2012 6:17 PM, Peter Kümmel wrote: The following tests FAILED: 78 - CustomCommandWorkingDirectory (Failed) 80 - BuildDepends (Failed)

[cmake-developers] [CMake 0013027]: Annoying dialog box repeatedly displayed while configure step

2012-03-07 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=13027 == Reported By:Dhanannjay Djay Deo Assigned To:

Re: [cmake-developers] Ninja windows

2012-03-07 Thread Bill Hoffman
On 3/7/2012 5:24 PM, David Cole wrote: That might be fixed just now (perhaps) by stuff that I merged into 'next' this afternoon. Try with the very latest next of CMake. (One of the commits from Peter K. had not yet been merged into next and it dealt with directory creation...) That fixed it.

Re: [CMake] transitive linking with separate projects

2012-03-07 Thread Alexander Dahl
Hello Michael, Am 2012-03-06 16:46, schrieb Michael Hertling: or possibly better: # libbar/bar-config.cmake.in: FIND_PACKAGE(FOO PATHS @FOO_DIR@ NO_DEFAULT_PATH) I used FIND_PACKAGE(FOO 0.1.0 REQUIRED) in the package config file now, which works, too. BTW, find modules / config files

Re: [CMake] Functions inherit parent variables?

2012-03-07 Thread Johannes Zarl
Drifting away from the original thread topic... On Tuesday 06 March 2012, 08:09:27, Michael Hertling wrote: IMO, the documentation of the PARENT_SCOPE flag is sufficiently clear: If PARENT_SCOPE is present, the variable will be set in the scope *above* the current scope. Each new directory

Re: [CMake] transitive linking with separate projects

2012-03-07 Thread Michael Hertling
On 03/07/2012 11:29 AM, Alexander Dahl wrote: Hello Michael, Am 2012-03-06 16:46, schrieb Michael Hertling: or possibly better: # libbar/bar-config.cmake.in: FIND_PACKAGE(FOO PATHS @FOO_DIR@ NO_DEFAULT_PATH) I used FIND_PACKAGE(FOO 0.1.0 REQUIRED) in the package config file now,

[CMake] PCH Qt (UIC)

2012-03-07 Thread Mike Krus
Hi I've been trying to get precompiled headers to work with CMake. I've managed to get things to work nicely on MSVC but I'm having problems with gcc. I found this resource: http://browse-code.mrpt.org/mrpt-0.6.2/cmakemodules/PCHSupport_26.cmake It works well except in the case where your

Re: [CMake] CMake configuration times with Microsoft Visual C++

2012-03-07 Thread Michael Jackson
On Mar 6, 2012, at 9:45 PM, Bill Hoffman wrote: On 3/6/2012 9:09 PM, Clifford Yapp wrote: We use the same configuration tests on all platforms in an effort to avoid having large chunks of platform-specific code in our build files, but we pay a price for this on Windows - the same test process

[CMake] Forcibly run 'moc' on Qt files that are NOT part of the build

2012-03-07 Thread Michael Jackson
In an effort to speed up the build of a project that uses Qt (and moc) I tried an alternate approach with the moc files. Normally I use the basic idea of gathering the headers that need to be moc'ed and feed those to moc with this type of CMake Code: QT4_WRAP_CPP(

Re: [CMake] Forcibly run 'moc' on Qt files that are NOT part of the build

2012-03-07 Thread Michael Hertling
On 03/07/2012 04:10 PM, Michael Jackson wrote: In an effort to speed up the build of a project that uses Qt (and moc) I tried an alternate approach with the moc files. Normally I use the basic idea of gathering the headers that need to be moc'ed and feed those to moc with this type of CMake

Re: [CMake] Forcibly run 'moc' on Qt files that are NOT part of the build

2012-03-07 Thread Michael Jackson
On Mar 7, 2012, at 10:50 AM, Michael Hertling wrote: On 03/07/2012 04:10 PM, Michael Jackson wrote: In an effort to speed up the build of a project that uses Qt (and moc) I tried an alternate approach with the moc files. Normally I use the basic idea of gathering the headers that need to

Re: [CMake] Forcibly run 'moc' on Qt files that are NOT part of the build

2012-03-07 Thread John Drescher
I would have to say that I didn't dig into the QT4_WRAP_CPP macro at all. If I had I would have probably answered my own question. I will give you idea a shot and report back if it works or not. Thanks for the idea. Please do so. I would be very interested in your findings on this one..

Re: [CMake] Forcibly run 'moc' on Qt files that are NOT part of the build

2012-03-07 Thread Andreas Pakulat
On 07.03.12 10:10:27, Michael Jackson wrote: In an effort to speed up the build of a project that uses Qt (and moc) I tried an alternate approach with the moc files. Normally I use the basic idea of gathering the headers that need to be moc'ed and feed those to moc with this type of CMake

Re: [CMake] Forcibly run 'moc' on Qt files that are NOT part of the build

2012-03-07 Thread Michael Wild
On 03/07/2012 04:10 PM, Michael Jackson wrote: In an effort to speed up the build of a project that uses Qt (and moc) I tried an alternate approach with the moc files. Normally I use the basic idea of gathering the headers that need to be moc'ed and feed those to moc with this type of CMake

Re: [CMake] Forcibly run 'moc' on Qt files that are NOT part of the build

2012-03-07 Thread Michael Jackson
On Mar 7, 2012, at 12:05 PM, Michael Wild wrote: On 03/07/2012 04:10 PM, Michael Jackson wrote: In an effort to speed up the build of a project that uses Qt (and moc) I tried an alternate approach with the moc files. Normally I use the basic idea of gathering the headers that need to be

[CMake] Blog about CMake Fortran support

2012-03-07 Thread Bill Hoffman
I worked with Julie Langou and Brad King to write a blog about Fortran support in CMake. It can be found here: http://www.kitware.com/blog/home/post/231 If anyone is interested in helping with the new cmake_add_fortran_subdirectory macro just send me an email, or bring it up on the

[Cmake-commits] CMake branch, next, updated. v2.8.7-3091-g80bc1c6

2012-03-07 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 80bc1c645b4fcd356e120bc6b0988d21598aabb4 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3094-g1fb9cfe

2012-03-07 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 1fb9cfe40a581b00ef268017eedaf044e35e72cb (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3096-g6241f39

2012-03-07 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 6241f395417758c989b0c9c3ca1744bc9a880be0 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3099-gf46e7a2

2012-03-07 Thread Clinton Stimpson
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via f46e7a2b986757443f97209c040f220e46391192 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3101-g8863f0c

2012-03-07 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 8863f0c43ea6a8ab592d569dd8bc6afa636d792f (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3104-gdf4918f

2012-03-07 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via df4918fc7ca76d031c0b728322635df5b7260842 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3108-gb7effdf

2012-03-07 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via b7effdfa9c061facd605cd2af4db25fcdfa7f82b (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3110-gb2d476e

2012-03-07 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via b2d476e8d8dd3baea4d984a69e86bf409a43e042 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.7-3113-g9514452

2012-03-07 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 9514452257a2dd38d2ff4b622f5859b216715133 (commit) via