Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-16 Thread Michael Hertling
On 05/15/2011 05:42 PM, Alexander Neundorf wrote: On Sunday 15 May 2011, Michael Hertling wrote: On 05/14/2011 07:57 PM, Alexander Neundorf wrote: ... Indeed, RPATH-related dependencies among the intermediately installed subprojects are malicious. In order to solve the problem you outlined

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-15 Thread Michael Hertling
On 05/14/2011 07:57 PM, Alexander Neundorf wrote: On Thursday 12 May 2011, Michael Hertling wrote: On 05/11/2011 09:07 PM, Alexander Neundorf wrote: Hi, I'd like to set up a kind of meta super project, which builds a bunch of subprojects, which contains executable and shared libraries.

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-15 Thread Alexander Neundorf
On Sunday 15 May 2011, Michael Hertling wrote: On 05/14/2011 07:57 PM, Alexander Neundorf wrote: ... Indeed, RPATH-related dependencies among the intermediately installed subprojects are malicious. In order to solve the problem you outlined without doing the whole stuff as root, you would need

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-14 Thread Alexander Neundorf
On Thursday 12 May 2011, Michael Hertling wrote: On 05/11/2011 09:07 PM, Alexander Neundorf wrote: Hi, I'd like to set up a kind of meta super project, which builds a bunch of subprojects, which contains executable and shared libraries. These subprojects come from different

[CMake] Trying to set up a superbuild with external project and install it...

2011-05-11 Thread Alexander Neundorf
Hi, I'd like to set up a kind of meta super project, which builds a bunch of subprojects, which contains executable and shared libraries. These subprojects come from different repositories, mostly git repositories. AFAIK I can basically do this using the ExternalProject_add() feature of cmake,

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-11 Thread Alexander Neundorf
On Wednesday 11 May 2011, Jean-Christophe Fillion-Robin wrote: Hi Alexander, Assuming the subproject are CMakeified: 1) Set the INSTALL command of each External project to an empty string ...but the INSTALL_DIR to the final location I assume ? Then the project will be built in build

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-11 Thread Jean-Christophe Fillion-Robin
2011/5/11 Alexander Neundorf a.neundorf-w...@gmx.net On Wednesday 11 May 2011, Jean-Christophe Fillion-Robin wrote: Hi Alexander, Assuming the subproject are CMakeified: 1) Set the INSTALL command of each External project to an empty string ...but the INSTALL_DIR to the final

Re: [CMake] Trying to set up a superbuild with external project and install it...

2011-05-11 Thread Michael Hertling
On 05/11/2011 09:07 PM, Alexander Neundorf wrote: Hi, I'd like to set up a kind of meta super project, which builds a bunch of subprojects, which contains executable and shared libraries. These subprojects come from different repositories, mostly git repositories. AFAIK I can basically