Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-01-23 16:53:33


http://article.gmane.org/gmane.comp.lib.boost.build/6136

mentions a new syntax for a similar problem, but what I
need is to do something like the following in gmake:

INCLUDES:= -I./includes/test $(INCLUDES)
include_test.o : include_test.cpp
g++ -c $(INCLUDES) include_test.cpp

IOW, for a specific target, I want to put a specific
include directory in front of all other include
directories. The nearest I can think of is:

obj include_test
: include_test.cpp
: <include>./includes/test
;

However, that doesn't work. What can I do?

TIA.

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk