diff options
| author | ruki <[email protected]> | 2021-03-10 11:09:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-10 11:09:25 +0800 |
| commit | 548a0ad47f341bee0d757be53e478697decc39a5 (patch) | |
| tree | 3285d6cbb6a88a445624651488026a01ba26ec40 /xmake/plugins/project/vstudio/impl | |
| parent | aeda97353dd23f22b7d7cda78eb3d10470177d55 (diff) | |
| parent | 138a9cbec0156f31c82588314b04ecf4b1b6c847 (diff) | |
Merge pull request #1277 from xmake-io/vsxmake
improve vsxmake plugin to support `set_default(false)`
Diffstat (limited to 'xmake/plugins/project/vstudio/impl')
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vs201x_solution.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x_solution.lua b/xmake/plugins/project/vstudio/impl/vs201x_solution.lua index 8b018a5d4..c4628190f 100644 --- a/xmake/plugins/project/vstudio/impl/vs201x_solution.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x_solution.lua @@ -52,7 +52,7 @@ function _make_projects(slnfile, vsinfo) table.insert(targets, 1, target) elseif target:is_binary() then local first_target = targets[1] - if not first_target or first_target:get("default") ~= true then + if not first_target or first_target:is_default() then table.insert(targets, 1, target) else table.insert(targets, target) |
