cmake GUI # 为CMAKE_BUILD_TYPE添加四个选项 set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo" )