From 2f687640d02b4ea1a912037de6e3affb5987e8f1 Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Mon, 15 Jul 2019 20:45:30 +0800 Subject: improve output --- xmake/plugins/project/vsxmake/vsproj/Xmake.targets | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xmake/plugins/project/vsxmake/vsproj/Xmake.targets b/xmake/plugins/project/vsxmake/vsproj/Xmake.targets index 65cf4a77b..947251b97 100644 --- a/xmake/plugins/project/vsxmake/vsproj/Xmake.targets +++ b/xmake/plugins/project/vsxmake/vsproj/Xmake.targets @@ -16,8 +16,10 @@ <_XmakeCommonFlags Condition="$(XmakeDiagnosis)">$(_XmakeCommonFlags) -D <_XmakeCommonFlags>$(_XmakeCommonFlags) $(_XmakeProjectFlag) + <_XmakeBuilDir>$([MSBuild]::MakeRelative('$(XmakeProjectDir)', '$(XmakeBuilDir)').TrimEnd('/\'.ToCharArray())) + <_XmakeConfigFlags>$(XmakeConfigFlags.Trim()) - <_XmakeConfigFlags>$(_XmakeConfigFlags) -p $(XmakePlat) -m $(XmakeMode) -a $(XmakeArch) -o "$([MSBuild]::MakeRelative('$(XmakeProjectDir)', '$(XmakeBuilDir)').TrimEnd('/\'.ToCharArray()))" + <_XmakeConfigFlags>$(_XmakeConfigFlags) -p $(XmakePlat) -m $(XmakeMode) -a $(XmakeArch) -o "$(_XmakeBuilDir)" <_XmakeBuildFlags>$(XmakeBuildFlags.Trim()) <_XmakeBuildFlags Condition="$(XmakeWarning)">$(_XmakeBuildFlags) -w -- cgit v1.3.1