Step 0: Install the Developer ToolsĪs a prerequisite, you'll need Apple's developer tools or some form of developer tools. It won't show you how to write C++ code or use the command line. This guide will show you how to set up a C++ development environment, and assumes that you're at least somewhat used to software development and the command line. If you install those three (easy on Linux, should be doable on Windows with Microsoft's Visual Studios or some other C++ compiler available), then Step 3 onwards is the same. The only thing that's platform-specific is the installation of the dev tools, CMake, and Conan. Mac vs Other PlatformsĪfter writing this, I've realized that this setup should work on pretty much all platforms. It'll also show how to use googletest for unit tests. It uses Crypto++ for decoding and encoding the strings, mainly to demonstrate how to use a separate library. The sample code here will just read in two strings containing long hex numbers and calculate the xor of them. Crypto++ as an example dependency library.The good news is that all of this is possible with very little effort on Mac, with the right tools: Portability and support for IDE's would be nice.Basically as little messing around with the development environment as possible.This guide will show you how to quickly set up a modern C++ development environment on Mac OS X. C++ on Mac OS X (or other platforms) Quickstart Guide Contents
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |