$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-08-01 15:02:13
Andrey Melnikov wrote:
> David Abrahams wrote:
>>John Torjo <john.lists_at_[hidden]> writes:
>>>, or do I need to modify extra pieces of code?
>>
>>You mean, like, rewrite the Windows command shell? ;-)
>
> For what do we need to depend on command shell?
>
> Can we just call CreateProcess to run actions, and use cmd /c only when
> we need to run .bat/.cmd files?
How would one use CreateProcess to run multi-command actions? For example:
actions archive bind RSP
{
$(RM) "$(<[1])"
$(.LD) /lib /NOLOGO /out:"$(<[1])" @"$(RSP)" && $(RM) "$(RSP)"
}
How would one use CreateProcess to run shell commands in actions? For
example:
actions archive bind RSP
{
if exist "$(<[1])" DEL "$(<[1])"
$(.LD) /lib /NOLOGO /out:"$(<[1])" @"$(RSP)" && $(RM) "$(RSP)"
}
FYI; The examples are straight from the msvc.jam file.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org