summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"