From f5ecbadde8b8ccd3289cc0e8bcf1f06522c78eae Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 22 May 2022 22:30:44 +0800 Subject: improve vsxmake --- xmake/plugins/project/vsxmake/getinfo.lua | 4 ++-- xmake/plugins/project/vsxmake/vsproj/Xmake.props | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua index f855b3bee..f6381e09c 100644 --- a/xmake/plugins/project/vsxmake/getinfo.lua +++ b/xmake/plugins/project/vsxmake/getinfo.lua @@ -151,8 +151,8 @@ function _make_targetinfo(mode, arch, target) targetinfo.default = tostring(target:is_default()) -- save target file - targetinfo.basename = _escape(target:get("basename")) - targetinfo.filename = _escape(target:get("filename")) + targetinfo.basename = _escape(target:basename()) + targetinfo.filename = _escape(target:filename()) -- save dirs targetinfo.targetdir = _make_dirs(target:get("targetdir")) diff --git a/xmake/plugins/project/vsxmake/vsproj/Xmake.props b/xmake/plugins/project/vsxmake/vsproj/Xmake.props index 760b09b61..ba13741a4 100644 --- a/xmake/plugins/project/vsxmake/vsproj/Xmake.props +++ b/xmake/plugins/project/vsxmake/vsproj/Xmake.props @@ -146,7 +146,7 @@ $([System.IO.Path]::GetFileNameWithoutExtension('$(XmakeFilename)')) $([System.IO.Path]::GetExtension('$(XmakeFilename)')) - + $(XmakeIncludeDirs);$(IncludePath) $(XmakeLinkDirs);$(LibraryPath) @@ -178,7 +178,7 @@ $(RemoteDebuggerEnvironment) - + -- cgit v1.3.1