$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2006-02-22 22:16:55
Hello,
In jamroot, I have:
constant TARGET-PLATFORM : [ modules.peek : OS ] ;
And then I have this:
rule
simple-lib ( lib-name : requirements * : usage-requirements * )
{
lib $(lib-name)
: # sources:
[ glob $(TOP)/src/$(lib-name)/impl/*.cpp ]
[ glob $(TOP)/sys/$(TARGET-PLATFORM)/$(lib-name)/*.cpp ]
: # requirements:
$(requirements)
: # default build:
: # usage requirements:
$(usage-requirements)
;
}
My intention was to have boost-build automatically pick up files from
sys/NT/whatever on NT, and from other folders on other systems. My problem
is that under Cygwin/gcc, boost.build still goes to sys/NT/whatever, instead
to sys/cygwin/whatever.
Or did I completely misunderstand something? Please help!
Thanks,
Emil