|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-07-28 03:20:06
Hi diddekio wrote:
diddekio wrote:
> My project contains a couple of libs and headers, so initially I
> tried to get bjam to copy everything to a /include and /lib.
>
> Libs is fine, but if I try this: "stage inc : observep.hpp :
> <location>e:/dev/include ;"
> it ends up as "observep.h" in <location> - why?
Because it's a bug in V2. I've just comitted a test for it and the attached
patch.
> (common.copy -BBv2 - says $(CP) "$(>)" "$(<)" - and with "stage inc :
> observep.hpp : <location>e:/dev/include/observep.hpp ;
> I get e:/dev/include/observep.hpp/observe.h" - cool :-)
>
> What am I doing wrong?? Should I use "use-project" to get includes
> and libs from project a to b?
No, that different thing.
> But if I try that, say "use-project /boost/filesystem :
> e:/dev/stl/boost/libs/filesystem/build ;"
> the linker cant find unit_test_framework.lib where bjam should tell
> it to look in
> E:\dev\stl\boost\libs\test\build\bin\msvc\debug\link-static\
As documentation says, "use-project" only make project-id known. To use
specific library you have to say that explicitly.
> And when I try to help, for instance "unit-test patterqz :
> patterqz.cpp patterns @/boost/test/unit_test_framework ;"
> it does link but Boost.Jam Version 3.1.6. OS=NT complains about
> deprecated syntax - what should I use?
The right syntax is
unit-test patterqa : patterrqz.cpp patterns
/boost/test//unit_test_framework ;
and it's described in docs too. Where did you found the "@" syntax? Maybe,
some example or doc part still contain them?
- Volodya
>
>
>
>
> To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
--Boundary-00=_2yNJ/KgMtoJ2HzC Content-Type: text/x-diff;
charset="iso-8859-1";
name="stage.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="stage.diff"
Index: new/stage.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/new/stage.jam,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- new/stage.jam 3 Jul 2003 07:18:39 -0000 1.14
+++ new/stage.jam 28 Jul 2003 08:18:20 -0000 1.15
@@ -88,6 +88,7 @@
i2 = [ new file-target $(n:D=) : [ $(i).type ]
: $(self.project) ] ;
local a = [ new action $(i2) : $(i) : common.copy ] ;
+ $(i2).suffix [ $(i).suffix ] ;
$(i2).action $(a) ;
}
--Boundary-00=_2yNJ/KgMtoJ2HzC--
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