summaryrefslogtreecommitdiff
path: root/xmake/core/project/rule.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/core/project/rule.lua
parent17d5e2d5fd3f1d10c0598068cfd58412f848243e (diff)
support to compile *.c as c++
Diffstat (limited to 'xmake/core/project/rule.lua')
-rw-r--r--xmake/core/project/rule.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/project/rule.lua b/xmake/core/project/rule.lua
index 2d5e915a2..d2f630d08 100644
--- a/xmake/core/project/rule.lua
+++ b/xmake/core/project/rule.lua
@@ -154,6 +154,7 @@ function rule.apis()
{
-- rule.set_xxx
"rule.set_extensions"
+ , "rule.set_sourcekinds"
-- rule.add_xxx
, "rule.add_deps"
, "rule.add_imports"