|
Boost-Build : |
From: Ray Lambert (codemonkey_at_[hidden])
Date: 2007-07-06 16:41:26
Hi,
I have a cross-platform project that I'm trying to compile on windows for
the first time (intial and primary work is done in Linux). I wrote some
Jamfiles on Linux that are tested and work fine there. Everything appears
to be working on windows (lib's build, etc.) but a target reference is
failing when trying to build an exe.
The relevant project tree looks like this:
(root)
/common
/tests
(root) has an empty Jamroot and 'common' and 'tests' each have a (very
simple) Jamfile. 'common' builds a static lib and the targets in 'tests'
try to link to it.
The Jamfile in 'common' looks like this:
lib common : [ glob *.cpp ] : <include>. <include>.. <link>static ;
The Jamfile in 'tests' looks like this:
exe xmltest : xmltest.cpp ..//common [ lib expat ] : <include>../.. ;
'common' builds successfully. When I try to build the target 'xmltest' in
'tests' I get the following error:
error: Unable to find file or target named
error: '..//common'
error: referred from project at
error: '.'
Again, this all works perfectly on Linux. I've seached quite a bit but I
cannot find anything relating to bugs or alternative behaviour of the
'..//common' syntax on windows.
The output of "bjam --version" is:
Boost.Build V2 (Milestone 11)
Boost.Jam 03.1.14
I'm running on XP (with cygwin and rxvt). I'm using cygwin's gcc (version
3.4.4).
Anyone have an idea on this one?
Thanks!
~ray
-- In a world without walls and fences, who needs windows and gates?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk