Subject: [Boost-build] Calling qt4.jam from a custom location
From: Sherwood Hu (sherwood_at_[hidden])
Date: 2009-09-24 16:25:35
I am working on Windows, VC 8.0.
I modified qt4.jam in order to produce 32-bit and 64-bit applications
simultaneously. It worked.
Now I want to move this modified qt4.jam to a custom location under the
project directory so that we can put it into source control.
import qt4 ;
import cast ;
if ! [ qt4.initialized ]
path-constant qt4-path : ../../lib/qt4 ;
ECHO "Use QT4 from the custom path" $(qt4-path) ;
using qt4 : $(qt4-path) ;
I copied the file to ../../lib/qt4 directory, and change the import
import ../../lib/qt4/qt4 ;
It complained that it could load modules.jam.
How to modify the following `import' statements so that they can be
import modules ;
import feature ;
import errors ;
import type ;
import "class" : new ;
import generators ;
import project ;
import toolset : flags ;
import os ;
import virtual-target ;
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