- The Modern C++ Challenge
- Marius Bancila
- 253字
- 2021-06-25 22:01:20
Building the code
Although a large number of 3rd party libraries are used throughout the book, all these libraries, as well as all the solutions provided in the book are cross-platform and run on all platforms. However, the code has been developed and tested with Visual Studio 2017 v15.6/7 on Windows 10 and Xcode 9.3 on Mac OS 10.13.x.
If you are using Xcode on a Mac, there are two features used in the book that are not available with the LLVM toolset included in Xcode; these are the filesystem library and std::optional. However, these have been designed based on the Boost.Filesystem and Boost.Optional libraries and the use of the mentioned standard libraries in the proposed solutions is easily interchangeable with the Boost libraries. In fact, the accompanying code is written so that it works with either of the two; controlling which one to use is done with several macros. Instructions for building either with one or another are provided below, although the same information is also available in the source archive.
In order to support most of the development environments and build systems you could use on various platforms, the code is provided with CMake scripts. These are used to generate projects or build scripts for your preferred toolset. If you do not have CMake installed on your machine, you can get it from https://cmake.org/. Below, you can find instructions for using CMake to generate Visual Studio and Xcode scripts. For other tools, please refer to the CMake documentation, if necessary.
- Mastering Visual Studio 2017
- Java范例大全
- Python神經網絡項目實戰
- TypeScript圖形渲染實戰:基于WebGL的3D架構與實現
- HTML5+CSS3網頁設計
- Node.js Design Patterns
- Mastering Data Mining with Python:Find patterns hidden in your data
- HTML5+CSS3 Web前端開發技術(第2版)
- Python 3.7從入門到精通(視頻教學版)
- Spring 5 Design Patterns
- 新印象:解構UI界面設計
- Advanced Python Programming
- SEO教程:搜索引擎優化入門與進階(第3版)
- Maven for Eclipse
- Java高手是怎樣煉成的:原理、方法與實踐