summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2016-08-01 08:13:36 +0800
committerruki <[email protected]>2016-08-01 08:13:36 +0800
commit4398ef670386b8ede0cf824826041e65a41daf04 (patch)
tree4980fc57f5537107f56c146a951810d2836fe49c
parentde05bd361137a2971875f9ba4d30cea926823913 (diff)
support *.cxx for c++ files
-rw-r--r--xmake/core/tool/compiler.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/tool/compiler.lua b/xmake/core/tool/compiler.lua
index 25061d322..14a3178c3 100644
--- a/xmake/core/tool/compiler.lua
+++ b/xmake/core/tool/compiler.lua
@@ -279,6 +279,7 @@ function compiler.kind_of_file(sourcefile)
[".c"] = "cc"
, [".cc"] = "cxx"
, [".cpp"] = "cxx"
+ , [".cxx"] = "cxx"
, [".m"] = "mm"
, [".mm"] = "mxx"
, [".s"] = "as"