Boost logo

Boost-Build :

From: James Emerton (ephelon_at_[hidden])
Date: 2005-06-18 16:21:07


Warning: I'm an utter Boost.Build newbie.

I'm setting up BBv2 (from boost 1.32.0) on WinXP for an existing
project. (I'm currently using SCons, but sadly the performance is too
poor.) A have a Python script that generates some C++ which then must
be compiled and linked. (The script generates the structures for
database access.) This script takes a '.bpy' file and produces a
'.cpp' and '.h' files (in a single invocation.)

I have successfully got the tool running, except that it's putting
files in the wrong places. All of the bpy files and the files
generated by the tool are placed in a Data/ subdirectory. A
simplified version of the rule to build the lib looks like...

lib BVData
: Data/file.bpy
other_source.cpp
;

The problem is that the Data/ subdirectory is not preserved. The
sources are all copied into bin/msvc/debug/ and the directory
structure flattened. Is there a way to stop this behaviour, or an
approach that I should use instead?

James

 


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