summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
authorFrankHB <[email protected]>2019-08-11 18:06:42 +0800
committerFrankHB <[email protected]>2019-08-11 18:06:42 +0800
commit0bdcae97d8d9b2b3afe725f9b857a9994d3b28fa (patch)
tree4a3282446375c2a3e0165170f626a3ca827269bc /xmake/plugins
parent35878524802b5144368f4bcad14264611a2fcff9 (diff)
fix typos
Changed all 'complie' to 'compile'. Added missing 'the' for some cases. Signed-off-by: FrankHB <[email protected]>
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/project/vstudio/impl/vs200x_vcproj.lua2
-rw-r--r--xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs200x_vcproj.lua b/xmake/plugins/project/vstudio/impl/vs200x_vcproj.lua
index d2066a659..106b97709 100644
--- a/xmake/plugins/project/vstudio/impl/vs200x_vcproj.lua
+++ b/xmake/plugins/project/vstudio/impl/vs200x_vcproj.lua
@@ -436,7 +436,7 @@ function _make_cxfile(vcprojfile, vsinfo, target, sourcefile, objectfile, vcproj
vcprojfile:print("AdditionalOptions=\"%s\"", flags)
vcprojfile:print("ObjectFile=\"%s\"", path.relative(path.absolute(objectfile), vcprojdir))
- -- complie as c++ if exists flag: /TP
+ -- compile as c++ if exists flag: /TP
if flags:find("[%-|/]TP") then
vcprojfile:print("CompileAs=\"2\"")
end
diff --git a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua
index 6fea45987..8f6549281 100644
--- a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua
+++ b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua
@@ -331,7 +331,7 @@ function _make_source_options(vcxprojfile, flags, condition)
end
end
- -- complie as c++ if exists flag: /TP
+ -- compile as c++ if exists flag: /TP
if flagstr:find("[%-/]TP") then
vcxprojfile:print("<CompileAs%s>CompileAsCpp</CompileAs>", condition)
end