diff options
| author | ruki <[email protected]> | 2021-12-02 09:35:54 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-02 09:35:54 +0800 |
| commit | bac9526a3f5ed8a634edea456e22cb5e17e3eba9 (patch) | |
| tree | e06627dbc8d93580e74445c7ad4585543a78ccbf | |
| parent | a90ff45e12c17e3888716bd9dfcdebf4faadd704 (diff) | |
Update windows.lua
| -rw-r--r-- | xmake/modules/target/action/install/windows.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/target/action/install/windows.lua b/xmake/modules/target/action/install/windows.lua index 0ea1e22b6..dfbcad11f 100644 --- a/xmake/modules/target/action/install/windows.lua +++ b/xmake/modules/target/action/install/windows.lua @@ -76,6 +76,7 @@ function install_binary(target, opt) local binarydir = path.join(target:installdir(), opt and opt.bindir or "bin") os.mkdir(binarydir) os.vcp(target:targetfile(), binarydir) + os.trycp(target:symbolfile(), binarydir) -- install the dependent shared/windows (*.dll) target -- @see https://github.com/xmake-io/xmake/issues/961 @@ -105,6 +106,7 @@ function install_shared(target, opt) local binarydir = path.join(target:installdir(), opt and opt.bindir or "bin") os.mkdir(binarydir) os.vcp(target:targetfile(), binarydir) + os.trycp(target:symbolfile(), binarydir) -- install *.lib for shared/windows (*.dll) target -- @see https://github.com/xmake-io/xmake/issues/714 @@ -130,6 +132,7 @@ function install_static(target, opt) local librarydir = path.join(target:installdir(), opt and opt.libdir or "lib") os.mkdir(librarydir) os.vcp(target:targetfile(), librarydir) + os.trycp(target:symbolfile(), librarydir) -- install headers _install_headers(target, opt) |
