$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] lib rule, could <name> requirment be conditional?
From: Dmitry Timoshenko (dimentiy2k_at_[hidden])
Date: 2010-03-03 20:24:28
Hello.
I wanted to ask. Is it possible to write something like this in order to
use different library names depending on e.g. <target-os>?
lib xercesc
:
: <target-os>windows:<name>xerces-c_2D
<target-os>linux:<name>xerces-c
<search>$(XERCESC_ROOT)lib
<variant>debug
:
: <include>$(XERCESC_ROOT)include
;
When I had tried to do this, I got an __init__ rule argument error.
Thank you.