summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/console/project/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/templates/c++/console/project/xmake.lua')
-rw-r--r--xmake/templates/c++/console/project/xmake.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/templates/c++/console/project/xmake.lua b/xmake/templates/c++/console/project/xmake.lua
index 86da6b2c0..5ea3f6136 100644
--- a/xmake/templates/c++/console/project/xmake.lua
+++ b/xmake/templates/c++/console/project/xmake.lua
@@ -3,7 +3,7 @@
add_rules("mode.debug", "mode.release")
-- add target
-target("[targetname]")
+target("${TARGETNAME}")
-- set kind
set_kind("binary")
@@ -11,3 +11,4 @@ target("[targetname]")
-- add files
add_files("src/*.cpp")
+${FAQ}