diff options
| author | ruki <[email protected]> | 2016-06-30 22:00:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-06-30 22:00:50 +0800 |
| commit | c7e6e28ffb33d121b7773d06ffea5b08af4c1165 (patch) | |
| tree | f10aece745ce5b951dd244bcdc2e98e355f05226 | |
| parent | d6d44c1d8bc245cb0b4655330aa2d9c70ba50a02 (diff) | |
rename some old api for templates
4 files changed, 16 insertions, 16 deletions
diff --git a/xmake/templates/c++/shared_library_tbox/project/xmake.lua b/xmake/templates/c++/shared_library_tbox/project/xmake.lua index d94875110..84286fdfc 100644 --- a/xmake/templates/c++/shared_library_tbox/project/xmake.lua +++ b/xmake/templates/c++/shared_library_tbox/project/xmake.lua @@ -106,10 +106,10 @@ end -- add option: demo option("demo") - set_option_enable(true) - set_option_showmenu(true) - set_option_category("option") - set_option_description("Enable or disable the demo module") + set_enable(true) + set_showmenu(true) + set_category("option") + set_description("Enable or disable the demo module") -- add packages add_packagedirs("pkg") diff --git a/xmake/templates/c++/static_library_tbox/project/xmake.lua b/xmake/templates/c++/static_library_tbox/project/xmake.lua index d94875110..84286fdfc 100644 --- a/xmake/templates/c++/static_library_tbox/project/xmake.lua +++ b/xmake/templates/c++/static_library_tbox/project/xmake.lua @@ -106,10 +106,10 @@ end -- add option: demo option("demo") - set_option_enable(true) - set_option_showmenu(true) - set_option_category("option") - set_option_description("Enable or disable the demo module") + set_enable(true) + set_showmenu(true) + set_category("option") + set_description("Enable or disable the demo module") -- add packages add_packagedirs("pkg") diff --git a/xmake/templates/c/shared_library_tbox/project/xmake.lua b/xmake/templates/c/shared_library_tbox/project/xmake.lua index d94875110..84286fdfc 100644 --- a/xmake/templates/c/shared_library_tbox/project/xmake.lua +++ b/xmake/templates/c/shared_library_tbox/project/xmake.lua @@ -106,10 +106,10 @@ end -- add option: demo option("demo") - set_option_enable(true) - set_option_showmenu(true) - set_option_category("option") - set_option_description("Enable or disable the demo module") + set_enable(true) + set_showmenu(true) + set_category("option") + set_description("Enable or disable the demo module") -- add packages add_packagedirs("pkg") diff --git a/xmake/templates/c/static_library_tbox/project/xmake.lua b/xmake/templates/c/static_library_tbox/project/xmake.lua index d94875110..84286fdfc 100644 --- a/xmake/templates/c/static_library_tbox/project/xmake.lua +++ b/xmake/templates/c/static_library_tbox/project/xmake.lua @@ -106,10 +106,10 @@ end -- add option: demo option("demo") - set_option_enable(true) - set_option_showmenu(true) - set_option_category("option") - set_option_description("Enable or disable the demo module") + set_enable(true) + set_showmenu(true) + set_category("option") + set_description("Enable or disable the demo module") -- add packages add_packagedirs("pkg") |
