@@ -17,6 +17,12 @@ add_rules("mode.debug", "mode.releasedbg")
1717includes (" xmake-rules.lua" )
1818
1919-- define options
20+ option (" obse_xbyak" , function ()
21+ set_default (false )
22+ set_description (" enable xbyak support for trampoline" )
23+ add_defines (" OBSE_SUPPORT_XBYAK=1" )
24+ end )
25+
2026option (" rex_ini" , function ()
2127 set_default (false )
2228 set_description (" enable ini config support for REX" )
@@ -32,14 +38,8 @@ option("rex_toml", function()
3238 set_description (" enable toml config support for REX" )
3339end )
3440
35- option (" obse_xbyak" , function ()
36- set_default (false )
37- set_description (" enable xbyak support for trampoline" )
38- add_defines (" OBSE_SUPPORT_XBYAK=1" )
39- end )
40-
4141-- require packages
42- add_requires (" commonlib-shared 75981b8181925dc09fdda11ac86ff6f6425e634f " , { configs = {
42+ add_requires (" commonlib-shared e9e8619678cc166de00a9e96dc465b696f7bd831 " , { configs = {
4343 rex_ini = has_config (" rex_ini" ),
4444 rex_json = has_config (" rex_json" ),
4545 rex_toml = has_config (" rex_toml" ),
@@ -54,9 +54,6 @@ target("commonlibob64", function()
5454 -- set build by default
5555 set_default (os.scriptdir () == os.projectdir ())
5656
57- -- set build group
58- set_group (" commonlibob64" )
59-
6057 -- add packages
6158 add_packages (" commonlib-shared" , { public = true })
6259
0 commit comments