官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 乐昌市| 马关县| 文山县| 驻马店市| 天长市| 平原县| 保定市| 沂源县| 登封市| 类乌齐县| 石屏县| 万荣县| 盘锦市| 贞丰县| 宜兴市| 珠海市| 霍邱县| 阿克| 霍州市| 定兴县| 驻马店市| 东山县| 古蔺县| 双峰县| 甘南县| 灵武市| 蒲江县| 沽源县| 平乡县| 昌乐县| 巢湖市| 出国| 荃湾区| 横峰县| 惠州市| 嘉义市| 怀远县| 宁乡县| 威海市| 板桥市| 德令哈市|