From: Patrick Frants (gclbb-jamboost_at_[hidden])
Date: 2002-08-27 04:53:47
I tried using $(SUBDIR) in templates, but get very strange paths out of it.
Using $(SUBDIR)/.. in a template in c:/project/exe/Jamfile
1. Executed from c:/project/ results in Server/Server
2. Executed from c:/project/exe results in ..
I think the second result is ok, but the first is incorrect or at least I
did not expect it :-).
My goal was to factor out our standard includes in templates. My first
option was to declare these includes paths relative to the c:/project. I
did not succeed at that so I resorted to paths relative to the executable
directories, which are always directly under c:/project.
-- Patrick Frants Senior Software Engineer Quintiq mailto:patrick_at_[hidden] www.quintiq.com
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