mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[libusb] Use /Z7 to embed the PDB into the executable (#33010)
This commit is contained in:
parent
2ad5618a7a
commit
247662ef30
@ -26,6 +26,13 @@ function(replace_runtime_library PROJ_FILE)
|
||||
endfunction(replace_runtime_library)
|
||||
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
# Use /Z7 to embed debug information into the executable
|
||||
vcpkg_replace_string(
|
||||
"${SOURCE_PATH}/msvc/Base.props"
|
||||
"<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>"
|
||||
"<DebugInformationFormat>OldStyle</DebugInformationFormat>"
|
||||
)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
set(LIBUSB_PROJECT_TYPE dll)
|
||||
else()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libusb",
|
||||
"version": "1.0.26.11791",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "a cross-platform library to access USB devices",
|
||||
"homepage": "https://github.com/libusb/libusb",
|
||||
"license": "LGPL-2.1-or-later",
|
||||
|
@ -4750,7 +4750,7 @@
|
||||
},
|
||||
"libusb": {
|
||||
"baseline": "1.0.26.11791",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"libusb-win32": {
|
||||
"baseline": "1.2.6.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "87cd196b403364febf719d64fe6f08ab0bf6b285",
|
||||
"version": "1.0.26.11791",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "653d47743e90abaa28a3d17b49fe479a0096f8ef",
|
||||
"version": "1.0.26.11791",
|
||||
|
Loading…
x
Reference in New Issue
Block a user