diff options
| author | ruki <[email protected]> | 2016-08-08 21:56:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-08-08 21:56:23 +0800 |
| commit | c140b6fc0d0783dfce13532bde4cb87c2d5201d1 (patch) | |
| tree | 7933bb471aad7211ac65c998fc25878e6c7ba97f /xmake/plugins/project/vstudio/impl/vs200x_solution.lua | |
| parent | 36cffe6922680493c36d9f9ba4a8fa18b60d8539 (diff) | |
fix source file path error for vcproj
Diffstat (limited to 'xmake/plugins/project/vstudio/impl/vs200x_solution.lua')
| -rwxr-xr-x | xmake/plugins/project/vstudio/impl/vs200x_solution.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs200x_solution.lua b/xmake/plugins/project/vstudio/impl/vs200x_solution.lua index 90f0434da..ebfb45dc4 100755 --- a/xmake/plugins/project/vstudio/impl/vs200x_solution.lua +++ b/xmake/plugins/project/vstudio/impl/vs200x_solution.lua @@ -84,13 +84,13 @@ function _make_global(slnfile, vsinfo) end -- make solution -function make(outputdir, vsinfo) +function make(vsinfo) -- init solution name vsinfo.solution_name = project.name() or "vs" .. vsinfo.vstudio_version -- open solution file - local slnfile = vsfile.open(format("%s/vs%s/%s.sln", outputdir, vsinfo.vstudio_version, vsinfo.solution_name), "w") + local slnfile = vsfile.open(path.join(vsinfo.solution_dir, vsinfo.solution_name .. ".sln"), "w") -- make header _make_header(slnfile, vsinfo) |
