[cmake-developers] [CMake 0014103]: Generator Eclipse CDT4 - Ninja does not write C++ Include paths into the generated .cproject file

2013-04-22 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=14103 == Reported By:Matthias Maier Assigned To:

Re: [cmake-developers] CMake 2.8.11-rc3 ready for testing!

2013-04-22 Thread Biddiscombe, John A.
May I ask one question related to the Target Usage Requirements ... For HDF5 (for example), the user might enable Parallel IO, which requires MPI. When enabled, the hdf5 cmakelists use find_package to get MPI and all is fine. Users of hdf5 might not know that they are using an hdf which has

Re: [cmake-developers] CMake 2.8.11-rc3 ready for testing!

2013-04-22 Thread Biddiscombe, John A.
One important extra point. The MPI library was NOT built with cmake, but the HDF5 and the user's project would be. Not sure if that makes a difference JB From: Biddiscombe, John A. Sent: 22 April 2013 16:46 To: 'Stephen Kelly'; cmake-developers@cmake.org Subject: RE: [cmake-developers] CMake

Re: [cmake-developers] CMake 2.8.11-rc3 ready for testing!

2013-04-22 Thread Biddiscombe, John A.
Sorry, I assumed too much familiarity with hdf5/mpi Hdf5 has CMakelists.txt files and declares a number of targets. When built with parallel IO, hdf5 used find_package(MPI) to get the required libs and includes for the library to compile and link nicely with mpi. No problem When you do a

[cmake-developers] [CMake 0014105]: IMPORTED target for a framework not handled correctly.

2013-04-22 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=14105 == Reported By:Stephen Kelly Assigned To:

Re: [cmake-developers] hdf5 dependency on mpi (was: CMake 2.8.11-rc3 ready for testing!)

2013-04-22 Thread Brad King
On 04/22/2013 10:46 AM, Biddiscombe, John A. wrote: C:\Program Files\hdf5-1.8.11\cmake\hdf5\hdf5-config.cmake find_package(HDF5 NO_MODULE) then the user’s project has a ‘hidden’ dependency on mpi In similar cases (in VTK and ITK) we have the package config file do find_package() for transitive

[cmake-developers] QtDialogSearchText2 topic v. Qt 4.4.3

2013-04-22 Thread Brad King
Alex, This topic does not build on magrathea.kitware's Linux-gcc332s dashboard: http://open.cdash.org/viewBuildError.php?buildid=2882492 .../Source/QtDialog/CMakeSetupDialog.cxx: In member function `void CMakeSetupDialog::doOutputFindDialog()': .../Source/QtDialog/CMakeSetupDialog.cxx:1212:

Re: [cmake-developers] hdf5 dependency on mpi (was: CMake 2.8.11-rc3 ready for testing!)

2013-04-22 Thread Biddiscombe, John A.
Brad, Stephen OK. I can add the find_package to the hdf5-config.cmake But the user still has to add the include path to their own projects, and link each target against mpi. Paraview, for example, fails to build when you link against a system hdf5 which has parallel enabled. You have to

Re: [cmake-developers] hdf5 dependency on mpi

2013-04-22 Thread Brad King
On 04/22/2013 11:52 AM, Biddiscombe, John A. wrote: Can I add the #include and link into the hdf5-config.cmake? This is what I was advised not to do before. The package config file should have only declarative effects and not actually modify the loading project's build, so that advice was

Re: [cmake-developers] hdf5 dependency on mpi

2013-04-22 Thread Biddiscombe, John A.
I think I hit the wrong key and my email disappeared, apologies if you get this twice The package config file should have only declarative effects and not actually modify the loading project's build, so that advice was correct. Understood. This seems sensible. The _INCLUDE_DIRS, _LIBRARIES,

Re: [cmake-developers] hdf5 dependency on mpi

2013-04-22 Thread Brad King
On 04/22/2013 03:32 PM, Biddiscombe, John A. wrote: Suppose hdf5 pulls in the mpi lib and includes, and the project using it requests mpi separately. Is there a correct - or standard - way of making sure the user does not choose a different mpi lib I'm not aware of a standard way to deal with