summaryrefslogtreecommitdiff
path: root/xmake/rules/dlang/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-01-23 22:49:14 +0800
committerruki <[email protected]>2020-01-23 10:55:24 +0800
commitd989ec1a9903dde07d08bf58386a45dd53651f6c (patch)
tree25dc68e9e4641a53c812d7858a0141f5646cb160 /xmake/rules/dlang/xmake.lua
parent17d5e2d5fd3f1d10c0598068cfd58412f848243e (diff)
support to compile *.c as c++
Diffstat (limited to 'xmake/rules/dlang/xmake.lua')
-rw-r--r--xmake/rules/dlang/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/dlang/xmake.lua b/xmake/rules/dlang/xmake.lua
index 62ef87442..4e5a957f7 100644
--- a/xmake/rules/dlang/xmake.lua
+++ b/xmake/rules/dlang/xmake.lua
@@ -20,7 +20,7 @@
-- define rule: dlang.build
rule("dlang.build")
- set_extensions(".d")
+ set_sourcekinds("dc")
on_build_files("private.action.build.object")
-- define rule: dlang