$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-08-23 01:56:21
Hi Altec,
> How do we grab the value of CFLAGS and other non-environment settings so
> we can use them in conditionals?
How do you want to use values of CFLAGS in conditionals? Do you mean in
conditional requirements, or in actions? If in actions, you can use this:
rulefoo(targets*:sources*:requirements)
{
localcflags=[on$(targets)return$(CFLAGS)];
}
actionfoo
{
//something
}
But I'd be interested to learn why you need it -- maybe there's another way.
- Volodya