Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-09-19 12:21:00


On 09/19/07 11:03, Larry Evans wrote:
[snip]
> So, as it is, it would be inappropriate to put it in
> the prj subdirectory without modification. Maybe
> just a slight modification would make it appropriate
> though. You might try that.
I put the attached Jamfile under the prj directory and
it seems to work:
<-- cut here --
cd
/home/evansl/prog_dev/boost-svn/ro/trunk/sandbox/axilmar/0.5-0.6/cppgc/prj/
bjam main.exe
...
gcc.link
../../../../../bin.v2/sandbox/axilmar/0.5-0.6/cppgc/prj/gcc-4.1/debug/main
...updated 9 targets...
>-- cut here --

cppgc-top = ..
  ;
project
  : requirements
      <include>./$(cppgc-top)/include
  : default-build debug
      <include>./$(cppgc-top)/include
  ;

obj main.obj
  : ./$(cppgc-top)/src/main.cpp
  ;
obj dlmalloc.obj
  : ./$(cppgc-top)/src/dlmalloc.c
  ;
obj cppgc.obj
  : ./$(cppgc-top)/src/cppgc.cpp
  ;
exe main.exe
  : main.obj
    dlmalloc.obj
    cppgc.obj
  ;


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk