summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2019-03-06 17:41:17 +0800
committerGitHub <[email protected]>2019-03-06 17:41:17 +0800
commit9dbd51e4ce52f79d2379e8d0f7dbf5e7784add2f (patch)
treec4fe450b716212c950891f79358dd539e193a9b9
parentb2590d72ae5de165387ac8462d312c3c44900558 (diff)
parent88b7af92f6988abb30b72095592c74a245c06507 (diff)
Merge pull request #365 from orzuk-lmj/dev
添加 vc project 使用 custom build command 時候的訊息
-rw-r--r--xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua
index 7a8f791c7..1c0bc1513 100644
--- a/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua
+++ b/xmake/plugins/project/vstudio/impl/vs201x_vcxproj.lua
@@ -573,6 +573,7 @@ function _make_source_file_forall(vcxprojfile, vsinfo, target, sourcefile, sourc
vcxprojfile:print("<Outputs Condition=\"\'%$(Configuration)|%$(Platform)\'==\'%s\'\">%s</Outputs>", info.mode .. '|' .. info.arch, objectfile)
vcxprojfile:print("<Command Condition=\"\'%$(Configuration)|%$(Platform)\'==\'%s\'\">%s</Command>", info.mode .. '|' .. info.arch, compcmd)
end
+ vcxprojfile:print("<Message>%s</Message>", path.filename(sourcefile))
-- for *.rc files
elseif sourcekind == "mrc" then