On 08/22/2012 04:57 PM, Yury G. Kudryashov wrote:
> I'm going to push the current state of my work to
> git pull git://gitorious.org/~urkud1/cmake/urkud-cmake.git w/export-set
> in a few minutes.

Thanks for working on this!

> It should work, though I haven't tested it yet. The idea is simple:
> each target remembers the latest
> install(TARGETS ... EXPORT)
> command, and each export set remembers teh latest
> install(EXPORT MyExport)
> command. Then we query this information.

Any "latest install" strategy is bound to generate subtle problems.
Dependencies among export sets should be explicit:

  install(EXPORT MyExport DEPENDS YourExport)

If a target in MyExport depends on a target not in the export
set then look at YourExport for it.  If the target's dependency
is still not found we can search for other export sets containing
it and suggest one in the error message.

-Brad
--

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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to