CMAKE_COMPILE_WARNING_AS_ERROR

在 3.24 版被加入.

指定是否將編譯上的警告視為錯誤。

This variable is used to initialize the COMPILE_WARNING_AS_ERROR property on all the targets.