summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/cl.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-25 00:33:07 +0800
committerruki <[email protected]>2020-09-25 00:33:07 +0800
commit90af4956738036172984f068502624bbc515cae7 (patch)
tree7cd7177becaf98e676ae8eaa478f042e14505d3a /xmake/modules/core/tools/cl.lua
parent700f08a7bae11c22295f884610f98b7b99eb1790 (diff)
fix trailing white-space
Diffstat (limited to 'xmake/modules/core/tools/cl.lua')
-rw-r--r--xmake/modules/core/tools/cl.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/modules/core/tools/cl.lua b/xmake/modules/core/tools/cl.lua
index 5d1b8f502..eddd61720 100644
--- a/xmake/modules/core/tools/cl.lua
+++ b/xmake/modules/core/tools/cl.lua
@@ -236,7 +236,7 @@ end
-- make the includedir flag
function nf_includedir(self, dir)
- -- @note we use os.args() to escape and wrap it,
+ -- @note we use os.args() to escape and wrap it,
-- because all flags will be preprocessed in `builder:_preprocess_flags`/`os.argv()`
return "-I" .. os.args(path.translate(dir))
end
@@ -283,8 +283,8 @@ function add_sourceflags(self, sourcefile, fileconfig, target, targetkind)
-- add language type flags explicitly if the sourcekind is changed.
--
- -- because compiler maybe compile `.c` as c++.
- -- e.g.
+ -- because compiler maybe compile `.c` as c++.
+ -- e.g.
-- add_files("*.c", {sourcekind = "cxx"})
--
local sourcekind = fileconfig.sourcekind