cmake-variables(7)

This page documents variables that are provided by CMake or have meaning to CMake when set by project code.

For general information on variables, see the 变量 section in the cmake-language manual.

提供信息变量

改变行为变量

控制构建变量

语言变量

CTest 变量

内部变量

CMake has many internal variables. Most of them are undocumented. Some of them, however, were at some point described as normal variables, and therefore may be encountered in legacy code. They are subject to change, and not recommended for use in project code.