$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2008-07-19 17:22:52
Hi Rene.
> Just to add my use case to it:
>
> project another ;
> local location = C:/some/path ;
> lib some_module : [ glob $(location)/src/*.cpp ] ;
>
> project mine ;
> exe my_exe : main.cpp /another//some_module ;
>
> Which would produce errors about missing sources of the form
> "/another//some_module/C:/some/path/src/foobar.cpp".
Hmm... I have not been able to reproduce the behaviour you describe.
Here is my exact setup:
.../src/aaa.cpp
void f() {}
.../src/main.cpp
int main() {}
.../jamroot.jam
project another ;
local location = "C:/Documents and Settings/Jurko/Desktop/III" ;
lib some_module : [ glob $(location)/src/*.cpp ] : <link>static ;
project mine ;
exe my_exe : src/main.cpp /another//some_module ;
Where '...' represents C:/Documents and Settings/Jurko/Desktop/III.
Everything also worked fine when I changed the exe line to:
exe my_exe : src/main.cpp : <source>/another//some_module ;
Everything also worked fine when I split the two projects into
separate folders:
.../src/aaa.cpp
void f() {}
.../src/main.cpp
int main() {}
.../jamroot.jam
project mine ;
use-project another : lib ;
exe my_exe : src/main.cpp /another//some_module ;
.../lib/jamfile.jam
project another ;
local location = "C:/Documents and Settings/Jurko/Desktop/III" ;
lib some_module : [ glob $(location)/src/*.cpp ] : <link>static ;
So where exactly did you see a problem with absolute paths? I can
blindly add a test like this but what exactly should I be expecting to
catch?
Best regards,
Jurko GospodnetiÄ