Boost logo

Boost :

Subject: Re: [boost] [build] clang objective c support?
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2014-09-10 22:43:32


On Wed, Sep 10, 2014 at 8:48 PM, Emil Dotchevski <emildotchevski_at_[hidden]>
wrote:

> On Wed, Sep 10, 2014 at 6:20 PM, Rene Rivera <grafikrobot_at_[hidden]>
> wrote:
>
> > Oh, sorry.. I guess I didn't read carefully enough. The GCC toolset has
> > OBJC support. Not sure about the Clang toolset.
> >
>
> Right, my question is specifically about the clang-darwin toolset, that is,
> clang on MACOSX. What would be the behavior if it is not supported but a
> library target uses .m or .mm sources? What I'm seeing is that Boost Build
> doesn't issue any errors but doesn't build the .m and .mm sources.
>

IIRC, from my testing it issues a warning about being unable to build a
target and then continues on building everything else. But let me check...

===
$ cd predef/test
$ b2 -a --verbose-test
warn: Unable to construct ./info_as_objcpp
warn: Unable to construct ./info_as_objc
...patience...
...found 184 targets...
...updating 20 targets...
clang-darwin.compile.c++
bin/info_as_cpp.test/clang-darwin-4.2.1/debug/info_as_cpp.o
[[cut]]
**passed** bin/macos_vs_bsd.test/clang-darwin-4.2.1/debug/macos_vs_bsd.test
...updated 20 targets...
$
===

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk