|
Boost-Build : |
Subject: Re: [Boost-build] A few questions
From: Ryan Gonzalez (rymg19_at_[hidden])
Date: 2015-03-12 16:55:08
Thanks to both of you! I know how to solve what I need to do now.
On Thu, Mar 12, 2015 at 2:12 PM, Vladimir Prus <vladimir.prus_at_[hidden]>
wrote:
> On 03/12/2015 12:03 PM, Steven Watanabe wrote:
>
>> AMDG
>>
>> On 03/12/2015 12:43 PM, Ryan Gonzalez wrote:
>>
>>> I have a few questions about using Boost.Build. I know they sound kind of
>>> weird, but I can guarantee that I'm not trying to blow anything up. :)
>>>
>>> 1) Is it possible to run the command to compile a program on-the-spot,
>>> i.e.
>>> skip the meta-target phase for this particular target? This is the
>>> question
>>> I said would sound weird. See, I'm trying to run a "compile test"; if a
>>> source file compiles (and, in some cases, runs), then one thing is
>>> executed, otherwise another is executed.
>>>
>>>
>> Use the check-target-builds rule. See:
>> http://www.boost.org/build/doc/html/bbv2/reference/rules.html
>>
>
> There's also lower-level, possibly more flexiible, configure.builds, see
> example at:
>
> https://github.com/boostorg/build/blob/server/example/
> libraries/app/jamfile.jam
> https://github.com/boostorg/build/blob/server/example/
> libraries/jamroot.jam
>
> HTH,
>
> --
> Vladimir Prus
> http://vladimirprus.com
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/
> mailman/listinfo.cgi/boost-build
>
-- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Somethingâs wrong. http://kirbyfan64.github.io/
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