Re: [CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-testHi,

2007-02-07 Thread frederic heem
Hi, The problem has been added yesterday to the bug tracker, and is already solved in cvs, that's really amazing, thanks bill and the cmake crew ! Frederic Heem On Tuesday 06 February 2007 4:59 pm, frederic heem wrote: > On Tuesday 06 February 2007 4:43 pm, Bill Hoffman wrote: > > frederic heem w

Re: [CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-testHi,

2007-02-06 Thread frederic heem
On Tuesday 06 February 2007 4:43 pm, Bill Hoffman wrote: > frederic heem wrote: > > Hi, > > Here is the test case: > > top level CMakeLists.txt: > > > > ADD_CUSTOM_TARGET(doc > > COMMAND echo "doc" > > COMMENT "generate the documentation") > > SUBDIRS(test1) > >

Re: [CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-testHi,

2007-02-06 Thread frederic heem
On Tuesday 06 February 2007 4:39 pm, David Cole wrote: > ADD_DEPENDENCIES(doc test1) > > Your ADD_DEPENDENCIES command says "doc depends on test1 -- make sure the > test1 target builds first before the doc target"... Is that what you want? > > If you want it the other way around, then you just need

Re: [CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-testHi,

2007-02-06 Thread Bill Hoffman
frederic heem wrote: Hi, Here is the test case: top level CMakeLists.txt: ADD_CUSTOM_TARGET(doc COMMAND echo "doc" COMMENT "generate the documentation") SUBDIRS(test1) test1 CMakeLists.txt: ADD_CUSTOM_TARGET(test1 COMMAND echo "test1"

Re: [CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-testHi,

2007-02-06 Thread David Cole
ADD_DEPENDENCIES(doc test1) Your ADD_DEPENDENCIES command says "doc depends on test1 -- make sure the test1 target builds first before the doc target"... Is that what you want? If you want it the other way around, then you just need to swap the args to ADD_DEPENDENCIES. The CMake source tree it

Re: [CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-testHi,

2007-02-06 Thread frederic heem
Hi, Here is the test case: top level CMakeLists.txt: ADD_CUSTOM_TARGET(doc COMMAND echo "doc" COMMENT "generate the documentation") SUBDIRS(test1) test1 CMakeLists.txt: ADD_CUSTOM_TARGET(test1 COMMAND echo "test1" COMMENT "g