summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/console/project/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-02-14 21:32:36 +0800
committerruki <[email protected]>2016-02-15 19:10:27 +0800
commit00db421c6d1fcb4604015e30fbc3ce80e9c00b41 (patch)
tree156038808d71a3bbdd66959604293ebc7aa31f94 /xmake/templates/c++/console/project/xmake.lua
parent52c273079851f2b83b9c632aec8e37b7482f6a83 (diff)
rename add_target and add_option to def_xxx
Diffstat (limited to 'xmake/templates/c++/console/project/xmake.lua')
-rw-r--r--xmake/templates/c++/console/project/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/templates/c++/console/project/xmake.lua b/xmake/templates/c++/console/project/xmake.lua
index 30aca7364..c858ef1e5 100644
--- a/xmake/templates/c++/console/project/xmake.lua
+++ b/xmake/templates/c++/console/project/xmake.lua
@@ -22,7 +22,7 @@ if modes("release") then
end
-- add target
-add_target("[targetname]")
+def_target("[targetname]")
-- set kind
set_kind("binary")