[cmake-developers] FindFoo.cmake and COMPONENTS
Ben Boeckel
ben.boeckel at kitware.com
Wed Mar 26 18:28:38 EDT 2014
[ Sorry for stealing the thread, but this might help spawn off a
follow-up patch for COMPONENT-handling docs. ]
On Wed, Mar 26, 2014 at 19:02:40 +0000, Alex Merry wrote:
> Modules that provide components are glossed over currently, despite
> being difficult to implement correctly.
Hmm, I wrote one recently[1] and it didn't seem *too* hard. What sort of
hidden pitfalls are there? One I can think of (that isn't handled in
that Find module) is dependencies between components.
Thanks,
--Ben
[1]https://github.com/mathstuf/abagames-gunroar/blob/master/cmake/FindDerelict.cmake
More information about the cmake-developers
mailing list