Skip to content

Commit

Permalink
angelscript: Enable exceptions by default (#6084)
Browse files Browse the repository at this point in the history
  • Loading branch information
star-hengxing authored Dec 28, 2024
1 parent da88f60 commit 349bdfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/a/angelscript/port/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ add_rules("mode.debug", "mode.release")
add_rules("utils.install.cmake_importfiles")
set_languages("c++11")

option("exceptions", {showmenu = true, default = false})
option("exceptions", {default = true})

target("angelscript")
set_kind("shared")
Expand Down
2 changes: 1 addition & 1 deletion packages/a/angelscript/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ package("angelscript")

add_patches(">=2.34.0", "patches/msvc-arm64.patch", "1433f474870102e6fd8d0c9978b6d122a098cdecded29be70176b9dab534564f")

add_configs("exceptions", {description = "Enable exception handling in script context", default = false, type = "boolean"})
add_configs("exceptions", {description = "Enable exception handling in script context", default = true, type = "boolean"})

if is_plat("linux") then
add_syslinks("pthread")
Expand Down

0 comments on commit 349bdfd

Please sign in to comment.