[cmake-developers] Fwd: EXPORT_NAME-genex
Daniel Pfeifer
daniel at pfeifer-mail.de
Mon May 20 15:16:45 EDT 2013
2013/5/20 Brad King <brad.king at kitware.com>
> We had some recent discussion about encouraging the convention of
> "namespace::" for imported targets, but perhaps we should reconsider
> the value and cost.
One of CMake's most powerful features in my opionion is the way it handles
sub-projects.
I can take two CMake-projects, Foo and Bar, put them in my Worspace
directory where I have a CMakeLists.txt file with the content:
add_subdirectory(Foo)
add_subdirectory(Bar)
I can now build these two projects with the same tools and flags, which is
extremely handy for crosscompilation.
This works pretty well in many cases, but sometimes it breaks, because some
projects are not "good neighbors" or they want to be the top level project.
I would like to see more projects that can be built both on their own and
as part of a bigger workspace.
In this case, it is important that these projects make no distincion
whether their dependencies are part of the same workspace or not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130520/62fde021/attachment.html>
More information about the cmake-developers
mailing list