set(CMAKE_C_STANDARD 99) set(CMAKE_CXX_STANDARD 11). These will add the needed compile options on targets (e.g. -std=c++11 for gcc).
確定! 回上一頁