summaryrefslogtreecommitdiff
path: root/core/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-08-22 00:49:04 +0800
committerruki <[email protected]>2024-08-22 00:49:04 +0800
commit906fa7a6d77e20190ebe943361e53c595237e52e (patch)
tree960ee5521e3112addc64d214930abeb8cbd8fa29 /core/xmake.lua
parent7b05f6e814dedea34ca11a27833e7c39c3afe246 (diff)
archive xmake.xmz
Diffstat (limited to 'core/xmake.lua')
-rw-r--r--core/xmake.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/xmake.lua b/core/xmake.lua
index 28bf4f22b..45fd9b2c1 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -55,8 +55,11 @@ if has_config("cosmocc") then
set_policy("build.ccache", false)
end
--- the cosmocc option
-option("cosmocc", {default = false, category = "option", description = "Use cosmocc toolchain to build once and run anywhere."})
+-- use cosmocc toolchain
+option("cosmocc", {default = false, description = "Use cosmocc toolchain to build once and run anywhere."})
+
+-- embed all script files
+option("embed", {default = false, description = "Embed all script files."})
-- the runtime option
option("runtime")