On Wed, Sep 10, 2014 at 5:29 AM, David Cole via cmake-developers <
[email protected]> wrote:

> I would say there are no "gold standard" find modules.
>
> The gold standard is a project config file, like Qt5 has.
>
> From http://www.cmake.org/cmake/help/v3.0/manual/cmake-qt.7.html :
>
> "the Qt 5 libraries are found using "Config-file Packages" shipped with Qt
> 5"
>
> Also, search this page for "Config mode":
>
> http://www.cmake.org/cmake/help/v3.0/command/find_package.html
>
> Find modules in CMake should be the last resort option, when it is simply
> impossible to add a project config mode file to a project.
>

Yes, in fact cmake builds of FLTK actually do provide a config file and the
find module tries to locate it, but as I mentioned to Stephen, I'm just
trying to improve the current module at this point.



> On the other hand, if the intent behind your question is to make the
> existing find modules all follow a given standard..... that's quite an
> ambitious goal. Let's see if anybody else names actual names for the "gold
> standard."


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!

Thanks,
Richard
-- 

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

Reply via email to