summaryrefslogtreecommitdiff
path: root/xmake/templates/c/shared/project/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/templates/c/shared/project/xmake.lua')
-rw-r--r--xmake/templates/c/shared/project/xmake.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/templates/c/shared/project/xmake.lua b/xmake/templates/c/shared/project/xmake.lua
index 4a52ee6d0..4aaddabc9 100644
--- a/xmake/templates/c/shared/project/xmake.lua
+++ b/xmake/templates/c/shared/project/xmake.lua
@@ -3,7 +3,7 @@
add_rules("mode.debug", "mode.release")
-- add target
-target("[targetname]")
+target("${TARGETNAME}")
-- set kind
set_kind("shared")
@@ -12,15 +12,15 @@ target("[targetname]")
add_files("src/interface.c")
-- add target
-target("[targetname]_demo")
+target("${TARGETNAME}_demo")
-- set kind
set_kind("binary")
-- add deps
- add_deps("[targetname]")
+ add_deps("${TARGETNAME}")
-- add files
add_files("src/test.c")
-
+${FAQ}