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

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.

主站蜘蛛池模板: 章丘市| 棋牌| 安平县| 沭阳县| 徐汇区| 桦南县| 莫力| 玛纳斯县| 温泉县| 夏河县| 汾阳市| 东乌| 彭州市| 开化县| 宕昌县| 延寿县| 亳州市| 墨玉县| 辽中县| 磐石市| 岳普湖县| 垫江县| 汪清县| 郁南县| 鄂托克旗| 贵港市| 崇信县| 满城县| 综艺| 衡阳县| 镇原县| 南漳县| 长葛市| 东兰县| 康马县| 翁牛特旗| 松潘县| 宝山区| 福清市| 丹阳市| 张家界市|