<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

rpav...@iastate.edu
http://academic.cleardefinition.com
Internal VRAC/HCI Site: http://tinyurl.com/rpavlik

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to