summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/templates/c++/console/project/xmake.lua6
-rw-r--r--xmake/templates/c/console/project/xmake.lua6
2 files changed, 0 insertions, 12 deletions
diff --git a/xmake/templates/c++/console/project/xmake.lua b/xmake/templates/c++/console/project/xmake.lua
index 00499409f..e0a7bdd52 100644
--- a/xmake/templates/c++/console/project/xmake.lua
+++ b/xmake/templates/c++/console/project/xmake.lua
@@ -1,14 +1,8 @@
--- add modes: debug and release
add_rules("mode.debug", "mode.release")
--- add target
target("${TARGETNAME}")
-
- -- set kind
set_kind("binary")
-
- -- add files
add_files("src/*.cpp")
${FAQ}
diff --git a/xmake/templates/c/console/project/xmake.lua b/xmake/templates/c/console/project/xmake.lua
index 635cdc160..068845cff 100644
--- a/xmake/templates/c/console/project/xmake.lua
+++ b/xmake/templates/c/console/project/xmake.lua
@@ -1,14 +1,8 @@
--- add modes: debug and release
add_rules("mode.debug", "mode.release")
--- add target
target("${TARGETNAME}")
-
- -- set kind
set_kind("binary")
-
- -- add files
add_files("src/*.c")
${FAQ}