Boost logo

Boost-Build :

From: Johannes Brunen (JBrunen_at_[hidden])
Date: 2004-11-03 08:30:10


Hi,

I have the following question:
My project consists of a lot of subprojects which all uses the same set of defines (-DX -DY...).
Is it possible to propagate somehow these defines into the subprojects fromthe root's jamfile.

I have tried the following, but it won't work

project MyProject
: requirements <define>X
: requirements <define>Y
;

build-project subproject/t1
build-project subproject/t2

project t1
: usage-requirements <include>./inc
;

lib t1 : t1.cxx : <include>inc

project t2
: usage-requirements <include>./inc
;

lib t2 : t2.cxx : <include>inc

Another question:
I have tried to build a project in which all the files have the extentsion *.CPP
I was able to build this project only after changing the extension to lowercase *.cpp both in
the jamfile as well as on the disk. Is this an error or is the uppercase somehow forbidden?

With best regards

Johannes

____________
Virus checked by G DATA AntiVirusKit
Version: AVK 15.0.809 from 02.11.2004
Virus news: www.antiviruslab.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