On 12/10/2012 09:52 AM, Stephen Kelly wrote: > Brad King wrote: > >> IIRC the topic that added dependent export support was only >> finished for the install(EXPORT) command and not for export(). >> It added a test for the install case mixing namespaces: >> >> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=955b9662 >> >> It appears to work. > > Yes. I refactored my topic to use the same logic/code as is used there.
Thanks. > That involved removing the EXPORT_NAMESPACE generator and adding a new > $<TARGET> generator which is a preprocessor-marker accepting only literals > for pointing out target names. Those target names only need to be extracted > at export time. > > I think the name $<TARGET> is suitable, but I don't mind changing it. How about "$<TARGET_NAME:...>"? If it is ever evaluated (instead of replaced) then it evalutes to "..." anyway, right? -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