automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing BUILT_SOURCES, double quote include and separation of source


From: Simon Perreault
Subject: Re: Mixing BUILT_SOURCES, double quote include and separation of source and binary directory
Date: Wed, 30 Mar 2005 10:37:02 -0500
User-agent: KMail/1.8

On March 30, 2005 10:14, Gary V. Vaughan wrote:
>   AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include

Sure, this fixes the problem given in my example. But I can't do that because 
of this:

> > The quick fix is to add the location of inc.h, prefixed with
> > $(top_builddir). However, in my real project I have hundreds of such
> > files with hundreds of such locations. I would quickly hit the limit on
> > command-line arguments.

I would like to add that if I wasn't building in a secondary directory I 
wouldn't encounter this limit because I wouldn't need a -I flag at all 
because the preprocessor begins checking in the directory of the file 
containing the double quote include directive.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]