Splitting up a large project into subfolders?

Andras Mantia amantia at kde.org
Fri Jun 11 10:51:05 UTC 2004


Simon Ejsing wrote:

> that the location of the header files changes, so if texture.cpp includes
> eg. "struct.h", this have to be changed to "../struct.h", but that's
> correct anyway :)
> 
No, you don't need to. ;-)

Put
AM_CXXFLAGS = -I$(top_srcdir) (or $(top_srcdir)/somepath, depending on where
struct.h is compared to the toplevel project directory).
in the Makefile.am.

Or Subproject options, Includes. I think it does the same.

Andras




More information about the KDevelop-devel mailing list