IF(CMAKE_CL_64)
set(platform x64)
ELSE(CMAKE_CL_64)
set(platform x86)
ENDIF(CMAKE_CL_64)
windows 平台使用 msvc 编译判断位数已确认。
IF(CMAKE_CL_64)
set(platform x64)
ELSE(CMAKE_CL_64)
set(platform x86)
ENDIF(CMAKE_CL_64)
windows 平台使用 msvc 编译判断位数已确认。