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

2007-02-06 Thread David Cole
On 2/6/07, frederic heem <[EMAIL PROTECTED]> wrote: > ADD_CUSTOM_TARGET(testFoo ...) > ADD_CUSTOM_TARGET(doc-test ...) > ADD_DEPENDENCIES(doc-test testFoo) > thanks for the tips, but unfortunately, that's not working as expected, running "make doc-test" results in testFoo1 doc-test testFoo2 doc

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

2007-02-06 Thread frederic heem
On Monday 05 February 2007 6:47 pm, Alan W. Irwin wrote: > On 2007-02-05 15:58+0100 frederic heem wrote: > > Hi, > > It seems that ADD_DEPENDENCIES does not allow to add a dependency to > > every target. Here is a brief description of the problem: > > A subdirectory contains a custom target to gene

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

2007-02-05 Thread Alan W. Irwin
On 2007-02-05 15:58+0100 frederic heem wrote: Hi, It seems that ADD_DEPENDENCIES does not allow to add a dependency to every target. Here is a brief description of the problem: A subdirectory contains a custom target to generate html from a docbook: ADD_CUSTOM_TARGET(doc-test C

[CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-test

2007-02-05 Thread frederic heem
Hi, It seems that ADD_DEPENDENCIES does not allow to add a dependency to every target. Here is a brief description of the problem: A subdirectory contains a custom target to generate html from a docbook: ADD_CUSTOM_TARGET(doc-test COMMAND xmlto html ${CMAKE_CURRENT_SOURCE_DIR}/