📌  相关文章
📜  异常处理禁用使用'-fexceptions'来启用CMake - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:23.845000             🧑  作者: Mango

代码示例1
Add this line to your CMakeLists.txt:
target_compile_options (projectName PUBLIC -fexceptions)
Where 'projectName' is the name of your project