[CMake] Canonical use of FindPackageHandleStandardArgs
Ryan Pavlik
rpavlik at iastate.edu
Wed Mar 3 19:28:57 EST 2010
<snip>
> If you're not doing find scripts that depend on other find scripts,
> then look in the archives from a month or so ago: I posted some
> "sample" find scripts that are modern and clean in style. You can
> also take a peek at everything except FindDirectShow.cmake (I didn't
> write that one or rewrite it beyond running my cleanup app on it, and
> it's sorely in need of work) here:
> http://github.com/rpavlik/vrpn/tree/master/vrpn/cmake/
The FindVRPN.cmake script is probably one of the best sophisticated
examples in that list - handles dependencies, but does not have to do
anything too exotic (figure out what kind of command line args are
needed by trial-and-error, etc). It should be easy to read and learn
from. Of course, now that I look at it, I see I'm not finding my
dependencies quietly: I will probably change that...
Ryan
--
Ryan Pavlik
HCI Graduate Student
Virtual Reality Applications Center
Iowa State University
rpavlik at iastate.edu
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik
More information about the CMake
mailing list