Re: [CMake] SubProject configuration in same build as host

2010-04-15 Thread Dave Partyka
Just thinking out loud but we could make an "external_project" call instead. This would sync, configure, build and install it easily without needing to override anything. And then ParaView would just FindPackage(HDF5) with the internal build directory as a hint. On Thu, Apr 15, 2010 at 5:40 AM, Bi

[CMake] SubProject configuration in same build as host

2010-04-15 Thread Biddiscombe, John A.
Within paraview we wish to build hdf5, which is now cmake based, so we ADD_SUBDIRECTORY(blah) and hdf5 is compiled nicely with lib targets added to the build. Some settings (like lib names) are needed by the host project, so we want to SET(HDF5_CONFIG ${ParaView_BINARY_DIR}/Utilities/hdf5-1.8/HD