diff options
Diffstat (limited to 'xmake/templates/objc++/console/project/xmake.lua')
| -rw-r--r-- | xmake/templates/objc++/console/project/xmake.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/templates/objc++/console/project/xmake.lua b/xmake/templates/objc++/console/project/xmake.lua index 6f8ce1bf6..d9d4a4ed0 100644 --- a/xmake/templates/objc++/console/project/xmake.lua +++ b/xmake/templates/objc++/console/project/xmake.lua @@ -1,5 +1,5 @@ -- the debug mode -if modes("debug") then +if is_mode("debug") then -- enable the debug symbols set_symbols("debug") @@ -9,7 +9,7 @@ if modes("debug") then end -- the release mode -if modes("release") then +if is_mode("release") then -- set the symbols visibility: hidden set_symbols("hidden") @@ -33,7 +33,7 @@ if os("macosx", "ios") then end -- add target -def_target("[targetname]") +target("[targetname]") -- set kind set_kind("binary") |
