The integrated clang compiler detects far more potential issues than others. Xcode provides an amazing set of tools over and above the code editor. Since I use only clean C++11 and open source dependencies, all available via HomeBrew, this model works great. I can leverage Xcode and its amazing compilers, debuggers and IDE tools to help me build better C++11 products quicker, and then deploy using git and make to Linux. But, in my opinion, the OS X tools, third party productivity products, robustness, ecosystem and my habits make me far more productive on OS X. The tools exist and the Linux desktop sure is maturing. I could do this development on a Linux desktop, as a lot of people do. I prefer the look, feel, tools and services that the Macintosh and its ecosystem provides.īut the applications I build all run on Linux CentOS 6.6 Servers. I write a lot of concurrent, complex, real-time C++11 code these days using my Macintosh.
I use it all the time to set up, convert, build and debug Unix/Linux executables that I develop on my Macintosh. This post will present a step-by-step process to convert C++/C++11 Makefile-based projects to Xcode build tools.