CMake常用内置变量说明

更新时间:
2024-01-09
下载文档

CMake常用内置变量说明

CMake常用内置变量说明如下所示。

环境变量说明
CCC compiler command
CFLAGSC compiler flags
LDFLAGSlinker flags, e.g. -L if you have libraries in a nonstandard directory
LIBSlibraries to pass to the linker, e.g. -l
CPPFLAGS(Objective) C/C++preprocessor flags, e.g. -I if you have headers in a nonstandard directory
CPPC preprocessor
CXXC++compiler command
CXXFLAGSC++compiler flags
文档内容是否对您有所帮助?
有帮助
没帮助