Reputation: 8614
It is theoretically possible to use a boost library (e.g. boost threads) inside a cocoa project?
Upvotes: 4
Views: 1805
Reputation:
Yeah, just make sure you use Objective-C++ and include to the boost directories you need. (Note: to change to objective-C++ change the file extension to .mm instead of .m, and keep the .h files the same)
Upvotes: 0
Reputation: 98984
Yes, there is nothing stopping you from doing that:
Upvotes: 4
Reputation: 7422
Yes. You can compile boost as a static library and link against it, or you can add the source code to your project and compile it with it.
Upvotes: 1