trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2010

Re: [trinity-devel] Building kdebase with svn 1173506

From: "Timothy Pearson" <kb9vqf@...>
Date: Thu, 9 Sep 2010 19:17:12 -0500
>
> Is there a pecking order in which include files must be listed in the
> declarations? Or is including those files similar to sourcing files in
> shell scripts and the order is (most of the time) unimportant?
>
Well, new #includes should go under existing ones within their respective
blocks, unless that would cause a build failure.

Typically, system defines are in the first block, then TQt defines in the
next block, then Trinity defines in the next, the finally any local
includes (the includes in this last block are in quotes, not angle
brackets).  Note that this is specific to the Trinity project and is
merely a style preference.

Tim