Re: [CMake] Target dependencies

2008-08-25 Thread Boris Boesler
Am 25.08.2008 um 18:07 schrieb Alan W. Irwin: On 2008-08-25 16:30+0200 Boris Boesler wrote: The DEPENDS of ADD_CUSTOM_TARGET expects file names, not target names. So it can't find a file named foo... To set up inter-target dependencies, use ADD_DEPENDENCIES. Yeah, I just found that afte

Re: [CMake] Target dependencies

2008-08-25 Thread Alan W. Irwin
On 2008-08-25 16:30+0200 Boris Boesler wrote: The DEPENDS of ADD_CUSTOM_TARGET expects file names, not target names. So it can't find a file named foo... To set up inter-target dependencies, use ADD_DEPENDENCIES. Yeah, I just found that after sending the email, but that doesn't work eithe

Re: [CMake] Target dependencies

2008-08-25 Thread Boris Boesler
The DEPENDS of ADD_CUSTOM_TARGET expects file names, not target names. So it can't find a file named foo... To set up inter-target dependencies, use ADD_DEPENDENCIES. Yeah, I just found that after sending the email, but that doesn't work either (cmake 2.6.1): ADD_CUSTOM_TARGET(foo COM

Re: [CMake] Target dependencies

2008-08-25 Thread David Cole
The DEPENDS of ADD_CUSTOM_TARGET expects file names, not target names. So it can't find a file named foo... To set up inter-target dependencies, use ADD_DEPENDENCIES. On Mon, Aug 25, 2008 at 9:03 AM, Boris Boesler <[EMAIL PROTECTED]> wrote: > Hi! > > For the cmake-code at the end of this email

[CMake] Target dependencies

2008-08-25 Thread Boris Boesler
Hi! For the cmake-code at the end of this email I get the following error during running make (cmake runs without problems): Scanning dependencies of target foo [ 0%] Fooing .. foo [ 50%] Built target foo Scanning dependencies of target bar make[3]: *** No rule to make target `foo', needed