Boost logo

Boost-Build :

From: crimshadow (tmarchuk_at_[hidden])
Date: 2005-10-14 13:16:08


Hi all,

Ok I've been trying to figure out where the actual compilation takes place
in boost.build. If I put an ECHO statement in kernel/bootstrap.jam at the
end of the file it prints this out and then it goes on to say things like:
...found 151 targets...
...updating 6 targets...
gcc.compile.c++ ../main/build/linux/gcc/debug/main.o
qt.moc ../main/build/linux/gcc/debug/moc_MainDlg.cpp
gcc.compile.c++ ../main/build/linux/gcc/debug/moc_MainDlg.o
gcc.compile.c++ ../main/build/linux/gcc/debug/MainDlg.o
gcc.link ../main/build.linux/gcc/debug/main
gcc.link ../main/obj/linux/main
...updated 6 targets...

So where is this being executed in the .jam files. Or is this done in the
bjam executable itself?? I thought the build process started at
bootstrap.jam which just includes kernel/bootstrap.jam so I'm kind of
confused as to what happens before this.

Ultimately I'm just trying to make it use MainDlg.moc.cxx as the output of
the qt.moc line instead of moc_MainDlg.cpp so that we don't have to change
all of our source code to switch to using boost.build but I'd like to
actually understand what's going on so I can make changes in the future.

Thanks,
-Tyson Marchuk

 

 


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