CMAKE_EXPORT_COMPILE_COMMANDS¶
在 3.17 版被加入.
這是一個 CMake 環境變數。其初始值取自呼叫的進程環境。
The default value for CMAKE_EXPORT_COMPILE_COMMANDS
when there
is no explicit configuration given on the first run while creating a new
build tree. On later runs in an existing build tree the value persists in
the cache as CMAKE_EXPORT_COMPILE_COMMANDS
.