Alexander Neundorf wrote:

> On Tuesday 14 February 2012, Brad King wrote:
> Alternatively, Yuri suggested this in a thread on kde-buildsystem, there
> could be a macro which completely generates the Config.cmake file.
> This would get rid of a bunch of problems, like having to write
> complicated code in the Config.cmake file, but OTOH it would have to take
> quite a lot of parameters, e.g. how it should set up the LIBRARY variables
> from the exported targets, in which namespace they have been exported,
> etc.
> 
> This would be a quite big macro.
Now I think that it would require a lot of code for no real gain.

A "simple" API would be "write me a basic Config.cmake file for this export 
set" but this would require a few changes in C++ code (i.e., turn export set 
into an object with properties like DESTINATION, FILE, NAMESPACE, TARGETS).
-- 
Yury G. Kudryashov,
mailto: [email protected]

--

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