Build: Set C++ exceptions flags instead of leaving the compiler defaults
This commit is contained in:
parent
af55f9fcdb
commit
795ce90234
|
|
@ -390,6 +390,7 @@ add_includedirs("include")
|
||||||
add_sysincludedirs("thirdparty/include")
|
add_sysincludedirs("thirdparty/include")
|
||||||
|
|
||||||
set_encodings("utf-8")
|
set_encodings("utf-8")
|
||||||
|
set_exceptions("cxx")
|
||||||
set_languages("c89", "c++20")
|
set_languages("c89", "c++20")
|
||||||
set_rundir("./bin/$(plat)_$(arch)_$(mode)")
|
set_rundir("./bin/$(plat)_$(arch)_$(mode)")
|
||||||
set_targetdir("./bin/$(plat)_$(arch)_$(mode)")
|
set_targetdir("./bin/$(plat)_$(arch)_$(mode)")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue