libftdi Archives

Subject: RE: CMake fails if c++ not built and doxygen doc

From: xantares 09 <xantares09@xxxxxxxxxxx>
To: <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 29 Aug 2012 13:29:24 +0000


> From: thomas.jarosch@xxxxxxxxxxxxx
> To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: CMake fails if c++ not built and doxygen doc
> Date: Wed, 29 Aug 2012 12:55:10 +0200
>
> Hi M.,
>
> On Thursday, 23. August 2012 12:36:54 xantares 09 wrote:
> > The generation of the doxygen docs depends on libftdipp.
> >
> >
> > Libftdipp is not build is boost not found.
> >
> >
> > So cmake fails to build if doc is activated and c++ wrapper is not found.
> >
> >
> >
> > I suggest to not rebuild automatically the doc each time, but once on
> > demand. Here is a patch doing that, otherwise consider removing the
> > 'DEPENDS ftdi1 ftdipp1' line as the doc is rebuilt anyway.
>
> or you could depend on the ftdipp1 source files instead of the built
> library.
>
> That was the original idea anyway: Regenerate the docs
> if the source file changes.
>
> Any reason not to generate the docs once the source changes?
>
> Thomas
>
>
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
>


Ok,

Here is another patch to keep the current behavior while depending only on the source files.

By the way generating the doc can be expensive with lots of graphs and stuff.

M.






libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx


Attachment: libftdi-doxygen.patch
Description: Text Data

Current Thread