Re: [CMake] Copying directories as post build events without losing parent directory

2015-12-07 Thread David Cole via CMake
$ cmake -E copy_directory foo bar/foo ? On Mon, Dec 7, 2015 at 4:53 PM, Robert Dailey wrote: > I have a custom target which runs a command similar to this: > > $ cmake -E copy_directory foo bar > > The problem is that the contents of "foo" are copied inside of "bar",

Re: [CMake] Copying directories as post build events without losing parent directory

2015-12-07 Thread Robert Dailey
On Mon, Dec 7, 2015 at 3:59 PM, David Cole wrote: > $ cmake -E copy_directory foo bar/foo > > ? > > > On Mon, Dec 7, 2015 at 4:53 PM, Robert Dailey > wrote: >> I have a custom target which runs a command similar to this: >> >> $ cmake -E copy_directory

Re: [CMake] Copying directories as post build events without losing parent directory

2015-12-07 Thread Robert Dailey
On Mon, Dec 7, 2015 at 4:15 PM, Robert Dailey wrote: > On Mon, Dec 7, 2015 at 3:59 PM, David Cole wrote: >> $ cmake -E copy_directory foo bar/foo >> >> ? >> >> >> On Mon, Dec 7, 2015 at 4:53 PM, Robert Dailey >> wrote: >>> I