diff options
| author | ruki <[email protected]> | 2021-03-05 22:41:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-03-05 22:41:06 +0800 |
| commit | 97e94809e0ffb871b2e8a7554ad3eb54a034c525 (patch) | |
| tree | 1f81d3047ff4b7cf615df5dacd044d606fadd5b8 /xmake/plugins/project/vstudio/impl/vs201x_solution.lua | |
| parent | ecb7b50da9471f2ebc5d44d01c72e7860776e2c9 (diff) | |
add is_enabled
Diffstat (limited to 'xmake/plugins/project/vstudio/impl/vs201x_solution.lua')
| -rw-r--r-- | xmake/plugins/project/vstudio/impl/vs201x_solution.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/plugins/project/vstudio/impl/vs201x_solution.lua b/xmake/plugins/project/vstudio/impl/vs201x_solution.lua index 4aeaa204a..fdd948561 100644 --- a/xmake/plugins/project/vstudio/impl/vs201x_solution.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x_solution.lua @@ -45,7 +45,7 @@ function _make_projects(slnfile, vsinfo) local targets = {} local vctool = "8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942" for targetname, target in pairs(project.targets()) do - if not target:isphony() then + if not target:is_phony() then -- we need set startup project for default or binary target -- @see https://github.com/xmake-io/xmake/issues/1249 if target:get("default") == true then @@ -105,7 +105,7 @@ function _make_global(slnfile, vsinfo) -- add project configuration platforms slnfile:enter("GlobalSection(ProjectConfigurationPlatforms) = postSolution") for targetname, target in pairs(project.targets()) do - if not target:isphony() then + if not target:is_phony() then for _, mode in ipairs(vsinfo.modes) do for _, arch in ipairs(vsinfo.archs) do local vs_arch = _vs_arch(arch) @@ -126,7 +126,7 @@ function _make_global(slnfile, vsinfo) slnfile:enter("GlobalSection(NestedProjects) = preSolution") local subgroups = {} for targetname, target in pairs(project.targets()) do - if not target:isphony() then + if not target:is_phony() then local group_path = target:get("group") if group_path then -- target -> group |
