We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 947c509 commit 4ddcf95Copy full SHA for 4ddcf95
config.xlings
@@ -26,4 +26,8 @@ d2x = {
26
},
27
}
28
29
---xlings_llm_config = "llm.config.xlings"
+--xlings_llm_config = "llm.config.xlings"
30
+
31
+mcpp = {
32
+ lang = "en", -- option: en, zh
33
+}
dslings/xmake.lua
@@ -1,12 +1,8 @@
1
-local dslings_dir = os.scriptdir()
2
-
3
-includes(path.join(dslings_dir, "d2x/common.lua"))
4
5
if is_host("windows") then
6
set_encodings("source:utf-8", "target:utf-8")
7
end
8
9
-if get_local_lang() == "zh" then
+if mcpp.lang == "zh" then
10
add_includedirs(".")
11
12
target("00-0-hello-mcpp")
0 commit comments