Re: [CMake] Howto use targets from several directories in the install clause?

2009-05-20 Thread Dmytro Ovdiienko
Hello Alexander, Thank you for your reply. I've made changes as you suggested. It works for now. But IMHO it is incorrect. Only DLL root project "knows" all details of installation but not sub-project. What if I have several projects based on the same sub-projects? They have different installat

Re: [CMake] Howto use targets from several directories in the install clause?

2009-05-19 Thread Alexander Neundorf
On Tuesday 19 May 2009, Dmytro Ovdiienko wrote: > Hi all, > > I'm trying to write install instruction for my main project (DLL) that > consists from several projects (LIBs). This instruction should copy all > public headers from all dependent targets to the destination directory. > > I expected to

[CMake] Howto use targets from several directories in the install clause?

2009-05-19 Thread Dmytro Ovdiienko
Hi all, I'm trying to write install instruction for my main project (DLL) that consists from several projects (LIBs). This instruction should copy all public headers from all dependent targets to the destination directory. I expected to use following sample but it is erroneous: install ( TAR