Re: [CMake] using install() with EXCLUDE_FROM_ALL

2010-04-09 Thread Michael Wild
On 9. Apr, 2010, at 13:14 , David Cole wrote: > On Fri, Apr 9, 2010 at 2:08 AM, Michael Wild wrote: >> [...] >> It would be nice if CMake created component-wise install targets. E.g. it >> would be very nice to have: >> >> make install-man >> make install-bin >> make install-shlibs >> make inst

Re: [CMake] using install() with EXCLUDE_FROM_ALL

2010-04-09 Thread David Cole
On Fri, Apr 9, 2010 at 2:08 AM, Michael Wild wrote: > > On 8. Apr, 2010, at 16:40 , David Cole wrote: > [...] > > > > > > Why not use the COMPONENT feature of the various install command > signatures to separate your installables into components...? > > > > Then you can run: > > cd binary_dir >

Re: [CMake] using install() with EXCLUDE_FROM_ALL

2010-04-08 Thread Michael Wild
On 8. Apr, 2010, at 16:40 , David Cole wrote: [...] > > > Why not use the COMPONENT feature of the various install command signatures > to separate your installables into components...? > > Then you can run: > cd binary_dir > cmake -D COMPONENT=MyComponent -P cmake_install.cmake > and that

Re: [CMake] using install() with EXCLUDE_FROM_ALL

2010-04-08 Thread Daniel Nelson
On Thursday 08 April 2010 8:40:54 am David Cole wrote: > On Thu, Apr 8, 2010 at 10:28 AM, Daniel Nelson wrote: > > On Wednesday 07 April 2010 10:37:54 pm Michael Wild wrote: > > > On 8. Apr, 2010, at 3:39 , Ryan Pavlik wrote: > > > > You might consider just setting the EXCLUDE_FROM_ALL property on

Re: [CMake] using install() with EXCLUDE_FROM_ALL

2010-04-08 Thread David Cole
On Thu, Apr 8, 2010 at 10:28 AM, Daniel Nelson wrote: > On Wednesday 07 April 2010 10:37:54 pm Michael Wild wrote: > > On 8. Apr, 2010, at 3:39 , Ryan Pavlik wrote: > > > You might consider just setting the EXCLUDE_FROM_ALL property on > specific > > > targets, instead of an entire subdirectory.

Re: [CMake] using install() with EXCLUDE_FROM_ALL

2010-04-08 Thread Daniel Nelson
On Wednesday 07 April 2010 10:37:54 pm Michael Wild wrote: > On 8. Apr, 2010, at 3:39 , Ryan Pavlik wrote: > > You might consider just setting the EXCLUDE_FROM_ALL property on specific > > targets, instead of an entire subdirectory. > > > > Ryan > > > > On Wed, Apr 7, 2010 at 8:33 PM, Daniel Nelson

Re: [CMake] using install() with EXCLUDE_FROM_ALL

2010-04-07 Thread Michael Wild
On 8. Apr, 2010, at 3:39 , Ryan Pavlik wrote: > You might consider just setting the EXCLUDE_FROM_ALL property on specific > targets, instead of an entire subdirectory. > > Ryan > > On Wed, Apr 7, 2010 at 8:33 PM, Daniel Nelson wrote: > >> If I use add_subdirectory with the EXCLUDE_FROM_ALL op

Re: [CMake] using install() with EXCLUDE_FROM_ALL

2010-04-07 Thread Ryan Pavlik
You might consider just setting the EXCLUDE_FROM_ALL property on specific targets, instead of an entire subdirectory. Ryan On Wed, Apr 7, 2010 at 8:33 PM, Daniel Nelson wrote: > If I use add_subdirectory with the EXCLUDE_FROM_ALL option, then any files > whose install commands are in that direc

[CMake] using install() with EXCLUDE_FROM_ALL

2010-04-07 Thread Daniel Nelson
If I use add_subdirectory with the EXCLUDE_FROM_ALL option, then any files whose install commands are in that directory are not installed as part of 'make install'. Is this on purpose, and if so is there a way I can install these files? -- Daniel ___