On 2013-03-29 16:58-0400 Bill Hoffman wrote:
On 3/29/2013 4:18 PM, Alan W. Irwin wrote:
Hi Bill:
This may have been covered in this thread already, but I am interested
in your take on the following questions. Why no downstream (i.e.,
associated with CMake) config files if upstream won't take them? For
the downstream case, are find modules considered to be a better
solution than config files, and if so why?
If the project will not create cmake config files then the only option is to
have a traditional find module. Maybe I don't get your question?
This sub-topic started with the following thought-provoking statements
from David:
<quote>
CMake needs no new Find modules.
All projects should provide a "project config file .cmake script"
readable by CMake's find_package, and installed in a location where
CMake can find it, so that a CMake find module is completely
unnecessary.
</quote>
Perhaps I am overinterpreting what David said, but it appears to
me he is generally deprecating the find module approach and
recommending the new project config file approach be used instead.
However, for the special case where an external project is not willing
to host anything concerning CMake where should those project config
files be hosted? It appears to me that one possibility is that CMake
host them, just like you do now for the deprecated (according to my
interpretation) find modules. But you say above the only option
for this case is the find module approach. Why? Is there some technical
issue that I am missing concerning project config files that would make
it impossible for CMake to host them?
Alan
__________________________
Alan W. Irwin
Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).
Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________
Linux-powered Science
__________________________
--
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