Subject: CGAL users discussion list
List archive
- From: Joachim Reichel <>
- To:
- Subject: Re: [cgal-discuss] reducing compile time
- Date: Mon, 10 Dec 2007 11:30:51 +0100
Hi,
>> As already pointed out, ccache works on translation units. If you have
>> only one translation unit, and edit any file, the cached copy of the
>> translation unit is outdated and has be to recompiled.
>
> Sorry but can you explain more about "translation unit". For example I want
> to run voronoi demo. Does it have "one traslation unit"? How did you
> determine that?
Quoting from an HP web page:
"A C [and C++] program consists of one or more translation units, each
of which can be compiled separately. A translation unit consists of a
source file together with any headers and source files included by the
#include preprocessing directive. Each time the compiler is invoked, it
reads a single translation unit and typically produces a relocatable
object file."
Most of CGAL's demos/examples consist of only one translation unit.
Joachim
- Re: [cgal-discuss] reducing compile time, Mahmood NT, 12/10/2007
- Re: [cgal-discuss] reducing compile time, Joachim Reichel, 12/10/2007
- <Possible follow-up(s)>
- Re: [cgal-discuss] reducing compile time, Mahmood NT, 12/10/2007
- Re: [cgal-discuss] reducing compile time, Joachim Reichel, 12/10/2007
Archive powered by MHonArc 2.6.16.