|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Calling qt4.jam from a custom locationI 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 statement: import ../../lib/qt4/qt4 ; It complained that it could load modules.jam. How to modify the following `import' statements so that they can be located: import modules ; import feature ; import errors ; import type ; import "class" : new ; import generators ; import project ; import toolset : flags ; import os ; import virtual-target ; _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Calling qt4.jam from a custom locationHi !
On Thursday 24 September 2009, Sherwood Hu wrote: > 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. It would be nice if you could post your modifications (unified diff most welcome) so I can take a look and maybe merge them to stock qt4.jam. > 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. Getting the changes into Boost should be better ;-)) > 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 > statement: > > import ../../lib/qt4/qt4 ; > > It complained that it could load modules.jam. > > How to modify the following `import' statements so that they can be > located: No idea. Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@... ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke ! _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
|
|
Re: Calling qt4.jam from a custom locationAMDG
Juergen Hunold wrote: >> 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 >> statement: >> >> import ../../lib/qt4/qt4 ; >> >> It complained that it could load modules.jam. >> >> How to modify the following `import' statements so that they can be >> located: >> > > No idea. > You have to use modules.load first. Run bjam --help modules.load for documentation. In Christ, Steven Watanabe _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build |
| Free embeddable forum powered by Nabble | Forum Help |