|
Boost-Build : |
From: Kostas Kostiadis (kos_at_[hidden])
Date: 2007-01-08 08:02:53
Hello all,
I think this question is probably best asked with a simple example.
Say I have a "framework" project, that uses an "audio" project.
Now say I have an application that uses "framework" but doesn't want to
inlcude "audio" support.
I need to:
1) detect an EXTERNALY defined define in my "framework" project and
conditionaly allow the inclusion of "audio".
Pseudo code would look like:
framework jamfile:
#if !defined( EXTERNALY_DEFINED_NO_AUDIO )
use-project /audio : /libs/audio ;
#endif
audio jamfile:
as normal
application jamfile:
#define EXTERNALY_DEFINED_NO_AUDIO
Any ideas on how to do this much appreciated.
cheers,
k.
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