Brad King wrote: > What about the APPEND mode of export? Do you plan to try to > collect all the appended pieces together, all delayed until > generate time?
Yes, that is the approach I took before, which is still available as 5343c596db797f063300226069f219668d70a399 (Process the export() command at generate time.) in my clone. Reading the commit again now, it looks like it would properly handle things like multiple namespaces: export(TARGETS foo NAMESPACE NS1 FILE theFile.cmake) export(TARGETS bar NAMESPACE NS2 APPEND FILE theFile.cmake) > Perhaps the policy could also disallow the > APPEND mode altogether. IIRC I've participated in discussion > in the past about how APPEND is a bad approach anyway. I've never used it, but then I've never used export() except in unit tests of it either :). I don't think preserving the APPEND functionality is expensive. Thanks, Steve. -- 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