Boost logo

Boost-Build :

Subject: [Boost-build] bjam failing to detect some file dependencies
From: Engelbert Tijskens (engelbert.Tijskens_at_[hidden])
Date: 2010-06-11 03:17:11


We are using boost-build now for more than a year to build our research codes for different platforms and compilers and we are generally satisfied with it. Sometimes boost-build fails to detect dependencies between files. We encountered two examples:
1. When we are using file iteration (BOOST_PP_FILENAME_x) in boost.preprocessor the dependency between the file describing the file iteration and the file using it is not detected and a change in the former does not result in recompilation.
2. when compiling our CUDA code something similar happens though it is not yet entirely clear what. Some of the .cuh files depend on .h files and the compiled code does not always reflect the changes made.

Is there a way to explicitly add dependencies between files in a bjam project?
 


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