summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2016-06-30 22:00:50 +0800
committerruki <[email protected]>2016-06-30 22:00:50 +0800
commitc7e6e28ffb33d121b7773d06ffea5b08af4c1165 (patch)
treef10aece745ce5b951dd244bcdc2e98e355f05226
parentd6d44c1d8bc245cb0b4655330aa2d9c70ba50a02 (diff)
rename some old api for templates
-rw-r--r--xmake/templates/c++/shared_library_tbox/project/xmake.lua8
-rw-r--r--xmake/templates/c++/static_library_tbox/project/xmake.lua8
-rw-r--r--xmake/templates/c/shared_library_tbox/project/xmake.lua8
-rw-r--r--xmake/templates/c/static_library_tbox/project/xmake.lua8
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")