On 2013-03-28 13:26-0400 Jean-Christophe Fillion-Robin wrote:

Hi Alan,

You could look at: https://github.com/davidsansome/python-cmake-buildsystem

More particularly this commit:
 - Export targets from both the installed and build tree [1]
 - Add generation of <PROJECT_NAME>Config.cmake [2]

[1]
https://github.com/davidsansome/python-cmake-buildsystem/commit/73134d77881ae6648a8f98daaf8630130b7f54ea
[2]
https://github.com/davidsansome/python-cmake-buildsystem/commit/3f504d8be5b41086f615494517ddd2cf66f4d365

This was based on the explanation of Alexander Neundorf. See
http://www.cmake.org/pipermail/cmake/2013-February/053689.html

We should really update the following tutorial:
http://www.cmake.org/Wiki/CMake/Tutorials/How_to_create_a_ProjectConfig.cmake_file

Hi Jc:

Thanks very much for those informative references.  Developers like me
who maintain a number of long-standing CMake-based build systems, have
to pick and choose which of the newly developed CMake ideas we
incorporate in those old build systems.  However, this idea appears to
be a good candidate for such incorporation, and your references look
like they will make that task pretty straightforward.

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

Reply via email to