summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-08-11 22:39:06 +0800
committerruki <[email protected]>2020-08-11 22:39:06 +0800
commit679191eb773e4f8c026a4e71979771d6a5a8ba9c (patch)
tree4bf9111582fdb118041332f87d532bd06320e695
parent3571d12eed5cf39a8fb0ae97da7529551c66a95e (diff)
improve templates again
-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}