Skip to content

Commit

Permalink
fix: make xmake rex options consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
shad0wshayd3 committed Nov 14, 2024
1 parent 30fe805 commit 02a517e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ add_rules("mode.debug", "mode.releasedbg")
includes("xmake-rules.lua")

-- define options
option("rex_ini")
option("rex_ini", function()
set_default(false)
set_description("Enable ini config support for REX")
add_defines("REX_OPTION_INI=1")
option_end()
end)

option("rex_json")
option("rex_json", function()
set_default(false)
set_description("Enable json config support for REX")
add_defines("REX_OPTION_JSON=1")
option_end()
end)

option("rex_toml")
option("rex_toml", function()
set_default(false)
set_description("Enable toml config support for REX")
add_defines("REX_OPTION_TOML=1")
option_end()
end)

option("skyrim_ae", function()
set_default(false)
Expand Down

0 comments on commit 02a517e

Please sign in to comment.