On Wed, 21 May 2014, Zé wrote:
I'm refactoring a small C++ project and in the process I've migrated a
component to a convenience library.
I would like to add the convenience library's root directory to the project's
include path, but I haven't found any reference on how to do this. The
closest I could find was adding ${srcdir} to the include path, but that
doesn't sound right.
Does anyone know how to pull this off?
You can create/add definitions to AM_CPPFLAGS to specify where the
C/C++ compiler should search for header files.
For example
AM_CPPFLAGS = -I$(top_srcdir)/my/convenience
Bob
--
Bob Friesenhahn
bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/