From ebcf9bb3b5dcedbf8ff686d0f73817640c463417 Mon Sep 17 00:00:00 2001 From: SirLynix Date: Thu, 25 Jan 2024 17:09:58 +0100 Subject: [PATCH] Build: Enable exceptions instead of leaving the compiler defaults --- xmake.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmake.lua b/xmake.lua index df34450..1617b59 100644 --- a/xmake.lua +++ b/xmake.lua @@ -1,5 +1,5 @@ set_project("NZSL") -set_xmakever("2.6.8") +set_xmakever("2.7.3") ----------------------- Global options ----------------------- @@ -43,6 +43,7 @@ add_rules("mode.coverage", "mode.debug", "mode.releasedbg", "mode.release") add_rules("plugin.vsxmake.autoupdate") add_includedirs("include", "src") +set_exceptions("cxx") set_languages("c89", "c++17") set_rundir("./bin/$(plat)_$(arch)_$(mode)") set_targetdir("./bin/$(plat)_$(arch)_$(mode)")