From 6ad24d9abe5b30d3b3c7dbf812afc558a10ecc08 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 5 Mar 2021 22:42:48 +0800 Subject: add is_static/is_shared --- xmake/plugins/project/vstudio/impl/vs201x_solution.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/plugins/project/vstudio/impl/vs201x_solution.lua') diff --git a/xmake/plugins/project/vstudio/impl/vs201x_solution.lua b/xmake/plugins/project/vstudio/impl/vs201x_solution.lua index fdd948561..8b018a5d4 100644 --- a/xmake/plugins/project/vstudio/impl/vs201x_solution.lua +++ b/xmake/plugins/project/vstudio/impl/vs201x_solution.lua @@ -50,7 +50,7 @@ function _make_projects(slnfile, vsinfo) -- @see https://github.com/xmake-io/xmake/issues/1249 if target:get("default") == true then table.insert(targets, 1, target) - elseif target:kind() == "binary" then + elseif target:is_binary() then local first_target = targets[1] if not first_target or first_target:get("default") ~= true then table.insert(targets, 1, target) -- cgit v1.3.1