summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2024-05-19 22:46:43 +0800
committerruki <[email protected]>2024-05-19 22:46:43 +0800
commitc3d9a8dfc63f2f8e054cc5f140830dc02b6332a0 (patch)
tree8fa0330f492449d0a9cff7811d8636838a4e73ee
parent3bb68cf977aa087d781fef792a262fd1a8f4d48b (diff)
enable msvc check
-rw-r--r--xmake/rules/utils/symbols/export_all/export_all.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/utils/symbols/export_all/export_all.lua b/xmake/rules/utils/symbols/export_all/export_all.lua
index 62d9d07dc..d3d326105 100644
--- a/xmake/rules/utils/symbols/export_all/export_all.lua
+++ b/xmake/rules/utils/symbols/export_all/export_all.lua
@@ -123,7 +123,7 @@ function main(target, opt)
-- get all symbols
local allsymbols
local msvc = toolchain.load("msvc", {plat = target:plat(), arch = target:arch()})
- if false then--msvc:check() then
+ if msvc:check() then
local dumpbin = assert(find_tool("dumpbin", {envs = msvc:runenvs()}), "dumpbin not found!")
allsymbols = _get_allsymbols_by_dumpbin(target, dumpbin.program, {export_classes = export_classes})
elseif target:has_tool("cc", "clang", "clang_cl", "clangxx") then