$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-build] Referring to use-project ids from outside project directory
From: Anthony Foglia (AFoglia_at_[hidden])
Date: 2009-02-17 10:37:39
We have a bunch of libraries that we've given ids with use-project rules
in the Jamroot. We have other projects, not under the same Jamroot,
that need to also refer to the same target.
In other words, with a layout like (with contents in parentheses):
proj1
Jamroot ( use-project /proj-libs/Math : lib/math ; )
lib
math
Jamfile
How do I refer to "/proj-libs/Math" from a proj2 in a different directory?
The best solution I could come up with is to rearrange proj1 to have a
proj-libs directory and in its Jamfile define Math as an alias to
../lib/math.
Is there a better way? Is there some convention for organizing the
interface of targets that are available to use by other projects.
-- Anthony Foglia Princeton Consultants (609) 987-8787 x233