Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-01-28 03:12:01

Hi Larry,

Larry Evans wrote:
> > I'm just starting to use jam; however, it's putting the target files in a
> > target directory that I don't want.
> [snip]
> > I want the files to be in:
> > bin/gcc/debug/runtime-link-dynamic/
> > instead of:
> > bin/test_lje.exe/gcc/debug/runtime-link-dynamic/
> > How do I get jam to do this?

Why do you want it?

> I modified boost-base.jam as follows:
> [snip]
> <----------- *vc-diff* ---------------
> *** boost-base.jam 2002/01/26 01:19:30 1.1
> --- boost-base.jam 2002/01/26 01:35:06

Speaking *only for myself*, I'd find unified diff a big deal easier to read.

> and this worked for the simple example posted previously.
> Would anybody please let me know if they see any problem with this change?

Yes. Main target name appear in target path for a reason. Consider:

        exe test_lje.exe : test_lje.cpp ;
        exe test_lje_d.exe : test_lje.cpp : <define>DEBUG_EVERYTHING ;

If main target name is not in target path, objects compiled with different
settings of DEBUG_EVERYTHING will be placed in the same directory.
BTW, this behavour will somewhat change in the new build system, but still
build system will take care of target path. Why would you want to change the

- Volodya


Boost list run by bdawes at, gregod at, cpdaniel at, john at