Re: C++ and boost
Re: C++ and boost
- Subject: Re: C++ and boost
- From: Ivan Cavero Belaunde <email@hidden>
- Date: Sun, 03 Apr 2011 10:11:13 -0700
- Acceptlanguage: en-US
- Thread-topic: C++ and boost
"Doctor, it hurts when I do this."
"Don't do that."
I wouldn't do that. I would download the boost sources manually and put them in your source tree under source control. That way, if you need to make any modifications (boost is not bug-free), be able to recreate old builds later (boost does change, and is versioned), and and backtrack updates to boost (oops, new version broke something you relied on) if you need to.
Then you just add the paths the normal way (for either target or project depending on what's appropriate): additional include paths, additional library paths, etc.
Note that depending on what parts of boost you use (eg. boost::threads) you may also have to compile sources (most of boost is usable via #including the headers).
HTH,
Iván
---
Iván Cavero Belaunde (email@hidden)
Advanced Technology Labs, Adobe Systems
On Apr 3, 2011, at 12:34 AM, David Remacle wrote:
> Hello,
>
> I am develop one app with C++ and boost. I would using XCode 4.
>
> I have installed boost with Macport. The header files are located in
>
> /opt/local/includes/
>
> and the library is in
>
> /opt/local/lib/
>
> Where in Xcode 4 add the path for boost ?
>
> Tank's for reading.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden