|
Boost-Build : |
From: Alexey Pakhunov (alexeypa_at_[hidden])
Date: 2005-12-06 14:23:33
Vladimir Prus wrote:
> I am not asking for this line be changed -- I can do it myself. But do we
> agree on above points? I certainly can miss something.
I guess you are right. The only thing that 'command' should contain at
least an empty string when storing tool names:
flags msvc.compile .CC $(cond) : $(command[$(i)])$(compiler) ;
...
Best regards/Venlig hilsen,
Alexey Pakhunov.
Index: msvc.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/msvc.jam,v
retrieving revision 1.69
diff -u -r1.69 msvc.jam
--- msvc.jam 6 Dec 2005 08:28:02 -0000 1.69
+++ msvc.jam 6 Dec 2005 19:16:33 -0000
@@ -299,11 +299,6 @@
}
}
- if ! $(setup)
- {
- error "msvc: Visual Studio setup script not found" ;
- }
-
local prefix = "call " ;
local suffix = " >nul
" ;
@@ -315,6 +310,8 @@
command = $(prefix)$(setup)" "$(setup-option:E="")$(suffix) ;
+ # Setup script is not required in some configurations
+ command ?= "" ;
# Get tool names (if any) and finish setup
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