Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-08-03 02:15:49


Vladimir Prus wrote:
> Chris Stankevitz wrote:
>
>> Boost.Jam Version 3.1.13. OS=LINUX.
>>
>> Question:
>> How do I store the result of a shell command to a
>> variable?
>>
>> Thank you,
>>
>> Chris
>>
>> PS: The following does not work:
>>
>> # Jamfile
>> WXFLAGS = SHELL("wx-config --cppflags") ;
>
> This is not the syntax use to call a rule. The right
> syntax is documented at:
>
> http://boost.org/boost-build2/doc/html/bbv2/advanced.html#bbv2.advanced.jam_language
>
> And the SHELL specifically is documented in:
>
> http://boost.org/boost-build2/doc/html/bbv2/faq/external.html

And also...

http://www.boost.org/doc/html/jam/language.html#jam.language.rules
http://www.boost.org/doc/html/jam/language.html#jam.language.rules.builtins.utility

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

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