Re: [CMake] Exporting imported target

2009-03-24 Thread Asmodehn Shade
Ha, ok I see I was thinking of this the wrong way... Thanks a lot :-) -- Alex 2009/3/25 Brad King > Andreas Pakulat wrote: > >> The easiest way to achieve what you want (having targets of >> projectB+projectC available to projectA) is by having the >> FindProjectB.cmake file simply do a fi

Re: [CMake] Exporting imported target

2009-03-24 Thread Brad King
Andreas Pakulat wrote: The easiest way to achieve what you want (having targets of projectB+projectC available to projectA) is by having the FindProjectB.cmake file simply do a find_package(ProjectC REQUIRED) call and then make sure that FindProjectC.cmake (or the ConfigProjectC.cmake) load the f

Re: [CMake] Exporting imported target

2009-03-24 Thread Andreas Pakulat
On 25.03.09 00:01:02, Asmodehn Shade wrote: > Hi, > > I am assuming it is at the moment (cmake 2.6.2 ) not possible to export an > imported target... No. > What about having the imported target and its properties transitively > exported again ? > Has this been planned for the future or ruled out

[CMake] Exporting imported target

2009-03-24 Thread Asmodehn Shade
Hi, I am assuming it is at the moment (cmake 2.6.2 ) not possible to export an imported target... When I do : # ${MyProject_EXPORT_CMAKE} contains the file path to a cmake script generated by export, # declaring ADD_LIBRARY(MyProject SHARED IMPORTED) ( among other stuff ) include(${MyProject_EXP