summaryrefslogtreecommitdiff
path: root/core/src/demo
diff options
context:
space:
mode:
authorwtz <[email protected]>2023-07-19 12:35:52 +0800
committerwtz <[email protected]>2023-07-19 12:35:52 +0800
commitf75224a8435d0eb9cdda79f8bc571eeef25a8e33 (patch)
tree278e00b17c8f5558df1c1a21f1204078ea62a58f /core/src/demo
parentca83e9a78b7f2d45e833fa705c880867ad2381c6 (diff)
Fix grammar
Diffstat (limited to 'core/src/demo')
-rw-r--r--core/src/demo/xmake.lua6
-rwxr-xr-xcore/src/demo/xmake.sh2
2 files changed, 4 insertions, 4 deletions
diff --git a/core/src/demo/xmake.lua b/core/src/demo/xmake.lua
index 6f5e3e431..fa290a2a9 100644
--- a/core/src/demo/xmake.lua
+++ b/core/src/demo/xmake.lua
@@ -11,16 +11,16 @@ target("demo")
-- make as a binary
set_kind("binary")
- -- add defines
+ -- add definitions
add_defines("__tb_prefix__=\"xmake\"")
-- add includes directory
add_includedirs("$(projectdir)", "$(projectdir)/src")
- -- add the common source files
+ -- add common source files
add_files("**.c")
- -- add the resource files (it will be enabled after publishing new version)
+ -- add resource files (it will be enabled after publishing new version)
if is_plat("windows") then
add_files("*.rc")
end
diff --git a/core/src/demo/xmake.sh b/core/src/demo/xmake.sh
index 9233f1c30..d91b50d99 100755
--- a/core/src/demo/xmake.sh
+++ b/core/src/demo/xmake.sh
@@ -6,7 +6,7 @@ target "demo"
set_basename "xmake"
set_targetdir "${buildir}"
- # add defines
+ # add definitions
add_defines "__tb_prefix__=\"xmake\""
# add includes directory