0
的意思我讀了CMake的文件名是:depndinfo.cmake
cmake的集(CMAKE_TARGET_DEFINITIONS
我不明白什麼是SET命令的含義:
SET(CMAKE_TARGET_DEFINITIONS
"DEM_DONT_PROVIDE_LEGACY_SYMBOLIC_NAMES"
"MAIN_SW_VERSION_MAJOR=16"
"MAIN_SW_PART_NUMBER_COMBINED=0x44,0x32,0x31,0x38,0x34,0x35,0x37,0x31,0x20,0x20"
)
就好像是這個命令多重定義的宏
該命令創建變量'CMAKE_TARGET_DEFINITIONS',該值爲包含3個字符串的* list *:'DEM_DONT_PROVIDE_LEGACY_SYMBOLIC_NAMES','MAIN_SW_VERSION_MAJOR = 16'和'MAIN_SW_PART_NUMBER_COMBINED = ...'。這個變量的實際含義取決於腳本本身。 – Tsyvarev