CMake Cookbook
上QQ阅读APP看书,第一时间看更新

Detecting the Environment

In this chapter, we will cover the following recipes:

  • Discovering the operating system
  • Dealing with platform-dependent source code
  • Dealing with compiler-dependent source code
  • Discovering the host processor architecture
  • Discovering the host processor instruction set
  • Enabling vectorization for the Eigen library