Boost logo

Boost-Build :

Subject: [Boost-build] Alias problem
From: Sherwood Hu (sherwood_at_[hidden])
Date: 2009-04-03 08:14:11

I have a library project with directory structure like this

Mylib/ ---+---- src files
          +---- build/ --- jamfile
          +---- test/ ---- jamfile

The test directory contains files for unit testing.

Now in test/jamfile, I tried to create an alias for myLib

alias mylib : ../build : <define>_UNIT_TEST ;

Project : requirements

For testing I need to get the src files compiled under _UNIT_TEST
defined. Unfortunately it looks like that all src files are still
compiled without _UNIT_TEST.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at