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.