Boost logo

Boost-Build :

From: Motonari Ito (motonari_at_[hidden])
Date: 2004-10-23 22:56:37


I have a following Jamfile and get an error.

The purpose of the Jamfile is compiling a different source file based on
compilers with multithreading enabled.

Is there anyway to make it work?

I'm using bjam v2 MS-10 pre-2.

Thank you.

#--- Jamfile ---
project : requirements <threading>multi ;
exe test : msvc.cpp : <toolset>msvc ;
exe test : gcc.cpp : <toolset>gcc ;

#--- project-root.jam ---
using msvc ;
using gcc ;

#--- error ---
C:/Tools/boost_build/MS10_pre2/build\targets.jam:538: in generate-really
from module object(main-target)@1
error: failed to build ./test with properties because no best-matching
alternative could be found
C:/Tools/boost_build/MS10_pre2/build\targets.jam:519: in object(main-
target)@1.generate from module object(main-target)@1
C:/Tools/boost_build/MS10_pre2/build\targets.jam:203: in object(project-
target)@1.generate from module object(project-target)@1
C:/Tools/boost_build/MS10_pre2\build-system.jam:160: in load from module
C:\Tools\boost_build\MS10_pre2/kernel\modules.jam:259: in import from
module modules
C:\Tools\boost_build\MS10_pre2/kernel/bootstrap.jam:120: in boost-build
from module
c:\MyProject2\boost_jam_tutorial\test\alternative\boost-build.jam:1: in
module scope from module

Motonari Ito (motonari_at_[hidden])

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