Boost logo

Boost Users :

Subject: [Boost-users] Jamfile with Objective-C++
From: Luke Walker (luke_walker_at_[hidden])
Date: 2012-02-07 14:29:54


Hi,How do I compile objective-c++ using BJAM?
Thanks!
Below is an example of what I'm trying to do:

import modules ;import os ;
SOURCES = audio;
DARWIN_SOURCES_MM = avcapture_video_capture;
DARWIN_SOURCES_CPP = coreaudio_audio;
WINDOWS_SOURCES = wasapi_audio;
local usage-requirements = <include>./include <include>./../../deps <include>./../media/include ;
project media ;
lib media
        : # sources src/$(SOURCES).cpp
        : # requirements <threading>multi <toolset>darwin:<source>src/$(DARWIN_SOURCES_CPP).cpp <toolset>darwin:<source>src/$(DARWIN_SOURCES_MM).mm <toolset>msvc:<source>src/$(WINDOWS_SOURCES).cpp $(usage-requirements)
        : # default build <link>static
        : # usage requirements $(usage-requirements) ;
                                               



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net