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
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)
> >
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
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"
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
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