Ah forgot to put the ADD_CUSTOM_TARGET before the ADD_SUBDIRECTORY.
Now it works fine.
Thanks Stefan for your greate help.
Greetings
Alexander
Please note: This e-mail may contain confidential information
intended solely for the
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> ] On Behalf Of Stefan Buschmann
> Sent: Tuesday, January 08, 2008 1:51 PM
> To: CMake@cmake.org
> Subject: Re: [CMake] Custom build command for documentation
>
> Hi,
>
Hi,
You can just define custom dependencies to include all your
documentation in one "doc" target.
E.g. I have a target "Docs" in my project:
ADD_CUSTOM_TARGET(Docs)
And then in each subdirectory that contains a documentation project, I
write e.g.:
...
ADD_CUSTOM_TARGET(Docs-Doxygen
D
Quoting [EMAIL PROTECTED]:
Hi all,
currently I can generate for some subdirectories my Latex and
Doxygen documentation. This is done like it is described in the
cmake FAQ.
What I now want to do is to collect all this commands of the
subdirectory and put it in an unique common build com