|
Boost-Commit : |
From: jurko.gospodnetic_at_[hidden]
Date: 2008-06-30 14:10:23
Author: jurko
Date: 2008-06-30 14:10:23 EDT (Mon, 30 Jun 2008)
New Revision: 46925
URL: http://svn.boost.org/trac/boost/changeset/46925
Log:
Patch for different Boost Build msvc toolset issues when using it from a cygwin shell or when using Boost Jam built so it uses the cygwin shell internally. Makes some error information not be gobbled up but displayed on the screen correctly and makes include paths passed to the Windows based command line utilities be correctly converted to native Windows instead of cygwin paths. Contributed by Ilya Sokolov.
Text files modified:
trunk/tools/build/v2/tools/msvc.jam | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/tools/build/v2/tools/msvc.jam
==============================================================================
--- trunk/tools/build/v2/tools/msvc.jam (original)
+++ trunk/tools/build/v2/tools/msvc.jam 2008-06-30 14:10:23 EDT (Mon, 30 Jun 2008)
@@ -388,7 +388,7 @@
if ! [ os.name ] in NT
{
setup-prefix = "cmd.exe /S /C call " ;
- setup-suffix = " >nul \"&&\" " ;
+ setup-suffix = " \">nul\" \"&&\" " ;
}
for local c in $(cpu)
@@ -794,7 +794,7 @@
rule get-rspline ( target : lang-opt )
{
- CC_RSPLINE on $(target) = [ on $(target) return $(lang-opt) -U$(UNDEFS) $(CFLAGS) $(C++FLAGS) $(OPTIONS) -c $(nl)-D$(DEFINES) $(nl)\"-I$(INCLUDES)\" ] ;
+ CC_RSPLINE on $(target) = [ on $(target) return $(lang-opt) -U$(UNDEFS) $(CFLAGS) $(C++FLAGS) $(OPTIONS) -c $(nl)-D$(DEFINES) $(nl)\"-I$(INCLUDES:W)\" ] ;
}
@@ -879,7 +879,7 @@
actions compile.rc
{
- $(.RC) -l 0x409 -U$(UNDEFS) -D$(DEFINES) -I"$(INCLUDES)" -fo "$(<:W)" "$(>:W)"
+ $(.RC) -l 0x409 -U$(UNDEFS) -D$(DEFINES) -I"$(INCLUDES:W)" -fo "$(<:W)" "$(>:W)"
}
@@ -889,7 +889,7 @@
actions compile.idl
{
- $(.IDL) /nologo @"@($(<[1]:W).rsp:E=$(nl)"$(>:W)" $(nl)-D$(DEFINES) $(nl)"-I$(INCLUDES)" $(nl)-U$(UNDEFS) $(nl)$(MIDLFLAGS) $(nl)/tlb "$(<[1]:W)" $(nl)/h "$(<[2]:W)" $(nl)/iid "$(<[3]:W)" $(nl)/proxy "$(<[4]:W)" $(nl)/dlldata "$(<[5]:W)")"
+ $(.IDL) /nologo @"@($(<[1]:W).rsp:E=$(nl)"$(>:W)" $(nl)-D$(DEFINES) $(nl)"-I$(INCLUDES:W)" $(nl)-U$(UNDEFS) $(nl)$(MIDLFLAGS) $(nl)/tlb "$(<[1]:W)" $(nl)/h "$(<[2]:W)" $(nl)/iid "$(<[3]:W)" $(nl)/proxy "$(<[4]:W)" $(nl)/dlldata "$(<[5]:W)")"
$(TOUCH_FILE) "$(<[4]:W)"
$(TOUCH_FILE) "$(<[5]:W)"
}
Boost-Commit 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