This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mixing BUILT_SOURCES, double quote include and separation ofsource and binary directory


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]