On Wednesday, September 10, 2014 10:38:44 Richard Shaw wrote: > On Wed, Sep 10, 2014 at 7:18 AM, David Cole <dlrd...@aol.com> wrote: > > > In this case just the one. I'm not that ambitious as I'm just > > > volunteering my time to various FOSS projects and still have to > > > maintain a day job to pay the bills! > > > > In that case, I would recommend just getting it into shape so that it > > works best for you. (But then, that's the way we've ended up with so > > many ways of doing things in the find modules we do have....) As you > > submit changes for review, though, hopefully the reviewers will catch > > anything that is not recommended and ask you to revise it before > > pushing it into 'master'. > > That's kinda what I was thinking as well but some of the problem I'm trying > to fix are requiring some significant changes that looking at a simple diff > may not really be helpful... > > > I think asking specific questions when you have something you're not > > sure of is better than trying to identify a gold standard find module > > on which to model your contributions. > > I'm sure I'll still have plenty of questions, I was just hoping to have a > really good example to go by to catch the easy stuff.
Just a few things: - variables should be named ExactCaseName_SOMETHING - try to detect the version number - use find_package_handle_standard_args() in the new mode - make sure it works also on systems without pkg-config Alex -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers