diff options
| author | ruki <[email protected]> | 2020-02-23 11:19:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-23 11:54:26 +0800 |
| commit | 9d34862fe5c82c7ac7e8d6dd8a1d951b3f1ed46c (patch) | |
| tree | 3f34a71e6b7a72ca8750f05acfa5a7a6f6739fdc /xmake/plugins/project/vsxmake | |
| parent | abffcefe13ed5867a9c340214baa431795e4857f (diff) | |
regenerate build.ninja
Diffstat (limited to 'xmake/plugins/project/vsxmake')
| -rw-r--r-- | xmake/plugins/project/vsxmake/getinfo.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/project/vsxmake/getinfo.lua b/xmake/plugins/project/vsxmake/getinfo.lua index d7e923d62..583e10932 100644 --- a/xmake/plugins/project/vsxmake/getinfo.lua +++ b/xmake/plugins/project/vsxmake/getinfo.lua @@ -270,8 +270,8 @@ function main(outputdir, vsinfo) vsinfo.solution_dir = path.absolute(path.join(outputdir, "vsxmake" .. vsinfo.vstudio_version)) vsinfo.programdir = _make_dirs(xmake.programdir()) vsinfo.projectdir = project.directory() - vsinfo.sln_projectfile = path.relative(project.file(), vsinfo.solution_dir) - local projectfile = path.filename(project.file()) + vsinfo.sln_projectfile = path.relative(project.rootfile(), vsinfo.solution_dir) + local projectfile = path.filename(project.rootfile()) vsinfo.slnfile = path.filename(project.directory()) -- write only if not default if projectfile ~= "xmake.lua" then |
