usb 2.1.2 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/README.md +20 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/usb/bindings.d.ts +4 -0
- package/dist/usb/device.js +5 -0
- package/dist/usb/device.js.map +1 -1
- package/dist/usb/index.js +7 -16
- package/dist/usb/index.js.map +1 -1
- package/dist/webusb/webusb-device.d.ts +2 -1
- package/dist/webusb/webusb-device.js +21 -14
- package/dist/webusb/webusb-device.js.map +1 -1
- package/libusb/.gitattributes +2 -6
- package/libusb/.private/appveyor_build.sh +22 -0
- package/libusb/.private/bm.sh +1 -1
- package/libusb/.private/ci-build.sh +67 -0
- package/libusb/.private/ci-container-build.sh +70 -0
- package/libusb/.private/post-rewrite.sh +5 -1
- package/libusb/.private/pre-commit.sh +5 -1
- package/libusb/.private/wbs.txt +4 -19
- package/libusb/.travis.yml +32 -23
- package/libusb/AUTHORS +86 -3
- package/libusb/ChangeLog +54 -3
- package/libusb/INSTALL_WIN.txt +22 -44
- package/libusb/Makefile.am +32 -10
- package/libusb/{README.md → README} +2 -2
- package/libusb/README.git +3 -3
- package/libusb/Xcode/common.xcconfig +23 -19
- package/libusb/Xcode/config.h +25 -13
- package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +511 -109
- package/libusb/android/README +90 -54
- package/libusb/android/config.h +23 -43
- package/libusb/android/examples/unrooted_android.c +300 -0
- package/libusb/android/examples/unrooted_android.h +36 -0
- package/libusb/android/jni/Android.mk +1 -1
- package/libusb/android/jni/Application.mk +16 -0
- package/libusb/android/jni/examples.mk +63 -29
- package/libusb/android/jni/libusb.mk +14 -8
- package/libusb/android/jni/tests.mk +13 -24
- package/libusb/appveyor.yml +73 -30
- package/libusb/autogen.sh +5 -3
- package/libusb/bootstrap.sh +6 -2
- package/libusb/configure.ac +314 -227
- package/libusb/doc/Makefile.in +22 -0
- package/libusb/doc/doxygen.cfg.in +460 -223
- package/libusb/examples/Makefile.am +6 -13
- package/libusb/examples/dpfp.c +276 -73
- package/libusb/examples/ezusb.c +18 -8
- package/libusb/examples/ezusb.h +6 -17
- package/libusb/examples/fxload.c +4 -5
- package/libusb/examples/hotplugtest.c +1 -1
- package/libusb/examples/sam3u_benchmark.c +59 -24
- package/libusb/examples/testlibusb.c +138 -104
- package/libusb/examples/xusb.c +26 -22
- package/libusb/libusb/Makefile.am +57 -70
- package/libusb/libusb/Makefile.am.extra +26 -0
- package/libusb/libusb/core.c +432 -423
- package/libusb/libusb/descriptor.c +365 -419
- package/libusb/libusb/hotplug.c +200 -104
- package/libusb/libusb/io.c +522 -535
- package/libusb/libusb/libusb-1.0.def +7 -3
- package/libusb/libusb/libusb-1.0.rc +1 -9
- package/libusb/libusb/libusb.h +302 -226
- package/libusb/libusb/libusbi.h +607 -316
- package/libusb/libusb/os/darwin_usb.c +703 -329
- package/libusb/libusb/os/darwin_usb.h +39 -15
- package/libusb/libusb/os/events_posix.c +300 -0
- package/libusb/libusb/os/events_posix.h +59 -0
- package/libusb/libusb/os/events_windows.c +214 -0
- package/libusb/{msvc/missing.h → libusb/os/events_windows.h} +25 -11
- package/libusb/libusb/os/haiku_pollfs.cpp +14 -9
- package/libusb/libusb/os/haiku_usb.h +12 -12
- package/libusb/libusb/os/haiku_usb_backend.cpp +36 -37
- package/libusb/libusb/os/haiku_usb_raw.cpp +80 -116
- package/libusb/libusb/os/linux_netlink.c +55 -63
- package/libusb/libusb/os/linux_udev.c +61 -69
- package/libusb/libusb/os/linux_usbfs.c +926 -1015
- package/libusb/libusb/os/linux_usbfs.h +74 -57
- package/libusb/libusb/os/netbsd_usb.c +103 -168
- package/libusb/libusb/os/null_usb.c +111 -0
- package/libusb/libusb/os/openbsd_usb.c +71 -120
- package/libusb/libusb/os/sunos_usb.c +289 -375
- package/libusb/libusb/os/sunos_usb.h +0 -1
- package/libusb/libusb/os/threads_posix.c +81 -32
- package/libusb/libusb/os/threads_posix.h +19 -23
- package/libusb/libusb/os/threads_windows.c +9 -95
- package/libusb/libusb/os/threads_windows.h +33 -31
- package/libusb/libusb/os/windows_common.c +915 -0
- package/libusb/libusb/os/windows_common.h +330 -42
- package/libusb/libusb/os/windows_usbdk.c +161 -267
- package/libusb/libusb/os/windows_usbdk.h +5 -2
- package/libusb/libusb/os/windows_winusb.c +1355 -1192
- package/libusb/libusb/os/windows_winusb.h +167 -167
- package/libusb/libusb/strerror.c +20 -30
- package/libusb/libusb/sync.c +20 -21
- package/libusb/libusb/version.h +1 -1
- package/libusb/libusb/version_nano.h +1 -1
- package/libusb/msvc/.gitattributes +3 -0
- package/libusb/msvc/config.h +27 -20
- package/libusb/msvc/{hotplugtest_2012.vcxproj → dpfp_2013.vcxproj} +14 -10
- package/libusb/msvc/dpfp_2013.vcxproj.filters +26 -0
- package/libusb/msvc/{listdevs_2010.vcxproj → dpfp_2015.vcxproj} +14 -9
- package/libusb/msvc/dpfp_2015.vcxproj.filters +26 -0
- package/libusb/msvc/dpfp_2017.vcxproj +106 -0
- package/libusb/msvc/dpfp_2017.vcxproj.filters +26 -0
- package/libusb/msvc/dpfp_2019.vcxproj +106 -0
- package/libusb/msvc/dpfp_2019.vcxproj.filters +26 -0
- package/libusb/msvc/dpfp_threaded_2013.vcxproj +87 -0
- package/libusb/msvc/dpfp_threaded_2013.vcxproj.filters +26 -0
- package/libusb/msvc/dpfp_threaded_2015.vcxproj +87 -0
- package/libusb/msvc/dpfp_threaded_2015.vcxproj.filters +26 -0
- package/libusb/msvc/dpfp_threaded_2017.vcxproj +106 -0
- package/libusb/msvc/dpfp_threaded_2017.vcxproj.filters +26 -0
- package/libusb/msvc/{fxload_2012.vcxproj → dpfp_threaded_2019.vcxproj} +32 -17
- package/libusb/msvc/dpfp_threaded_2019.vcxproj.filters +26 -0
- package/libusb/msvc/fxload_2013.vcxproj +6 -3
- package/libusb/msvc/fxload_2013.vcxproj.filters +35 -0
- package/libusb/msvc/fxload_2015.vcxproj +6 -3
- package/libusb/msvc/fxload_2015.vcxproj.filters +35 -0
- package/libusb/msvc/fxload_2017.vcxproj +6 -7
- package/libusb/msvc/fxload_2017.vcxproj.filters +35 -0
- package/libusb/msvc/{fxload_2010.vcxproj → fxload_2019.vcxproj} +29 -6
- package/libusb/msvc/fxload_2019.vcxproj.filters +35 -0
- package/libusb/{examples → msvc}/getopt/getopt.c +0 -0
- package/libusb/{examples → msvc}/getopt/getopt.h +0 -0
- package/libusb/{examples → msvc}/getopt/getopt1.c +0 -0
- package/libusb/msvc/getopt_2013.vcxproj +4 -5
- package/libusb/msvc/getopt_2013.vcxproj.filters +26 -0
- package/libusb/msvc/getopt_2015.vcxproj +4 -4
- package/libusb/msvc/getopt_2015.vcxproj.filters +26 -0
- package/libusb/msvc/getopt_2017.vcxproj +4 -10
- package/libusb/msvc/getopt_2017.vcxproj.filters +26 -0
- package/libusb/msvc/{getopt_2012.vcxproj → getopt_2019.vcxproj} +25 -6
- package/libusb/msvc/getopt_2019.vcxproj.filters +26 -0
- package/libusb/msvc/hotplugtest_2013.vcxproj +6 -3
- package/libusb/msvc/hotplugtest_2013.vcxproj.filters +23 -0
- package/libusb/msvc/hotplugtest_2015.vcxproj +6 -3
- package/libusb/msvc/hotplugtest_2015.vcxproj.filters +23 -0
- package/libusb/msvc/hotplugtest_2017.vcxproj +6 -7
- package/libusb/msvc/hotplugtest_2017.vcxproj.filters +23 -0
- package/libusb/msvc/hotplugtest_2019.vcxproj +105 -0
- package/libusb/msvc/hotplugtest_2019.vcxproj.filters +23 -0
- package/libusb/msvc/libusb_2013.sln +50 -20
- package/libusb/msvc/libusb_2015.sln +51 -21
- package/libusb/msvc/libusb_2017.sln +90 -36
- package/libusb/msvc/libusb_2019.sln +240 -0
- package/libusb/msvc/libusb_dll_2013.vcxproj +6 -9
- package/libusb/msvc/libusb_dll_2013.vcxproj.filters +94 -0
- package/libusb/msvc/libusb_dll_2015.vcxproj +6 -8
- package/libusb/msvc/libusb_dll_2015.vcxproj.filters +94 -0
- package/libusb/msvc/libusb_dll_2017.vcxproj +6 -16
- package/libusb/msvc/libusb_dll_2017.vcxproj.filters +94 -0
- package/libusb/msvc/{libusb_dll_2010.vcxproj → libusb_dll_2019.vcxproj} +27 -9
- package/libusb/msvc/libusb_dll_2019.vcxproj.filters +94 -0
- package/libusb/msvc/libusb_static_2013.vcxproj +5 -9
- package/libusb/msvc/libusb_static_2013.vcxproj.filters +80 -0
- package/libusb/msvc/libusb_static_2015.vcxproj +5 -8
- package/libusb/msvc/libusb_static_2015.vcxproj.filters +80 -0
- package/libusb/msvc/libusb_static_2017.vcxproj +5 -8
- package/libusb/msvc/libusb_static_2017.vcxproj.filters +80 -0
- package/libusb/msvc/{libusb_static_2010.vcxproj → libusb_static_2019.vcxproj} +26 -9
- package/libusb/msvc/libusb_static_2019.vcxproj.filters +80 -0
- package/libusb/msvc/listdevs_2013.vcxproj +6 -3
- package/libusb/msvc/listdevs_2013.vcxproj.filters +23 -0
- package/libusb/msvc/listdevs_2015.vcxproj +6 -3
- package/libusb/msvc/listdevs_2015.vcxproj.filters +23 -0
- package/libusb/msvc/listdevs_2017.vcxproj +6 -7
- package/libusb/msvc/listdevs_2017.vcxproj.filters +23 -0
- package/libusb/msvc/listdevs_2019.vcxproj +105 -0
- package/libusb/msvc/listdevs_2019.vcxproj.filters +23 -0
- package/libusb/msvc/{listdevs_2012.vcxproj → sam3u_benchmark_2013.vcxproj} +13 -9
- package/libusb/msvc/sam3u_benchmark_2013.vcxproj.filters +26 -0
- package/libusb/msvc/{hotplugtest_2010.vcxproj → sam3u_benchmark_2015.vcxproj} +13 -8
- package/libusb/msvc/sam3u_benchmark_2015.vcxproj.filters +26 -0
- package/libusb/msvc/sam3u_benchmark_2017.vcxproj +106 -0
- package/libusb/msvc/sam3u_benchmark_2017.vcxproj.filters +26 -0
- package/libusb/msvc/sam3u_benchmark_2019.vcxproj +106 -0
- package/libusb/msvc/sam3u_benchmark_2019.vcxproj.filters +26 -0
- package/libusb/msvc/stress_2013.vcxproj +4 -2
- package/libusb/msvc/stress_2013.vcxproj.filters +32 -0
- package/libusb/msvc/stress_2015.vcxproj +4 -2
- package/libusb/msvc/stress_2015.vcxproj.filters +32 -0
- package/libusb/msvc/stress_2017.vcxproj +4 -6
- package/libusb/msvc/stress_2017.vcxproj.filters +32 -0
- package/libusb/msvc/{stress_2010.vcxproj → stress_2019.vcxproj} +26 -4
- package/libusb/msvc/stress_2019.vcxproj.filters +32 -0
- package/libusb/msvc/testlibusb_2013.vcxproj +6 -3
- package/libusb/msvc/testlibusb_2013.vcxproj.filters +23 -0
- package/libusb/msvc/testlibusb_2015.vcxproj +6 -3
- package/libusb/msvc/testlibusb_2015.vcxproj.filters +23 -0
- package/libusb/msvc/testlibusb_2017.vcxproj +6 -7
- package/libusb/msvc/testlibusb_2017.vcxproj.filters +23 -0
- package/libusb/msvc/{testlibusb_2010.vcxproj → testlibusb_2019.vcxproj} +28 -5
- package/libusb/msvc/testlibusb_2019.vcxproj.filters +23 -0
- package/libusb/msvc/xusb_2013.vcxproj +6 -3
- package/libusb/msvc/xusb_2013.vcxproj.filters +23 -0
- package/libusb/msvc/xusb_2015.vcxproj +6 -3
- package/libusb/msvc/xusb_2015.vcxproj.filters +23 -0
- package/libusb/msvc/xusb_2017.vcxproj +6 -7
- package/libusb/msvc/xusb_2017.vcxproj.filters +23 -0
- package/libusb/msvc/{xusb_2010.vcxproj → xusb_2019.vcxproj} +28 -5
- package/libusb/msvc/xusb_2019.vcxproj.filters +23 -0
- package/libusb/tests/Makefile.am +13 -1
- package/libusb/tests/libusb_testlib.h +12 -43
- package/libusb/tests/stress.c +59 -50
- package/libusb/tests/testlib.c +78 -171
- package/libusb/tests/umockdev.c +1175 -0
- package/libusb.gypi +10 -11
- package/package.json +2 -2
- package/prebuilds/android-arm/node.napi.armv7.node +0 -0
- package/prebuilds/android-arm64/node.napi.armv8.node +0 -0
- package/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
- package/prebuilds/linux-arm/node.napi.armv6.node +0 -0
- package/prebuilds/linux-arm/node.napi.armv7.node +0 -0
- package/prebuilds/linux-arm64/node.napi.armv8.node +0 -0
- package/prebuilds/linux-ia32/node.napi.node +0 -0
- package/prebuilds/linux-x64/node.napi.glibc.node +0 -0
- package/prebuilds/linux-x64/node.napi.musl.node +0 -0
- package/prebuilds/win32-ia32/node.napi.node +0 -0
- package/prebuilds/win32-x64/node.napi.node +0 -0
- package/src/device.cc +12 -7
- package/src/node_usb.cc +10 -0
- package/test/usb.coffee +6 -0
- package/tsc/index.ts +2 -0
- package/tsc/usb/bindings.ts +5 -0
- package/tsc/usb/device.ts +6 -0
- package/tsc/usb/index.ts +5 -8
- package/tsc/webusb/webusb-device.ts +12 -8
- package/libusb/.private/bd.cmd +0 -89
- package/libusb/.private/bwince.cmd +0 -57
- package/libusb/.private/wbs_wince.txt +0 -42
- package/libusb/Brewfile +0 -4
- package/libusb/appveyor_cygwin.bat +0 -11
- package/libusb/appveyor_minGW.bat +0 -19
- package/libusb/doc/Makefile.am +0 -9
- package/libusb/examples/dpfp_threaded.c +0 -557
- package/libusb/libusb/hotplug.h +0 -99
- package/libusb/libusb/os/poll_posix.c +0 -84
- package/libusb/libusb/os/poll_posix.h +0 -14
- package/libusb/libusb/os/poll_windows.c +0 -447
- package/libusb/libusb/os/poll_windows.h +0 -98
- package/libusb/libusb/os/wince_usb.c +0 -888
- package/libusb/libusb/os/wince_usb.h +0 -126
- package/libusb/libusb/os/windows_nt_common.c +0 -1010
- package/libusb/libusb/os/windows_nt_common.h +0 -110
- package/libusb/libusb/os/windows_nt_shared_types.h +0 -147
- package/libusb/msvc/appveyor.bat +0 -27
- package/libusb/msvc/ddk_build.cmd +0 -219
- package/libusb/msvc/errno.h +0 -102
- package/libusb/msvc/fxload_sources +0 -23
- package/libusb/msvc/getopt_2005.vcproj +0 -288
- package/libusb/msvc/getopt_2010.vcxproj +0 -72
- package/libusb/msvc/getopt_sources +0 -24
- package/libusb/msvc/hotplugtest_sources +0 -20
- package/libusb/msvc/inttypes.h +0 -295
- package/libusb/msvc/libusb.dsw +0 -71
- package/libusb/msvc/libusb_2005.sln +0 -95
- package/libusb/msvc/libusb_2010.sln +0 -105
- package/libusb/msvc/libusb_2012.sln +0 -105
- package/libusb/msvc/libusb_dll.dsp +0 -194
- package/libusb/msvc/libusb_dll_2005.vcproj +0 -464
- package/libusb/msvc/libusb_dll_2012.vcxproj +0 -107
- package/libusb/msvc/libusb_dll_wince.vcproj +0 -1251
- package/libusb/msvc/libusb_sources +0 -43
- package/libusb/msvc/libusb_static.dsp +0 -174
- package/libusb/msvc/libusb_static_2005.vcproj +0 -390
- package/libusb/msvc/libusb_static_2012.vcxproj +0 -98
- package/libusb/msvc/libusb_static_wince.vcproj +0 -1179
- package/libusb/msvc/libusb_wince.sln +0 -246
- package/libusb/msvc/listdevs.dsp +0 -103
- package/libusb/msvc/listdevs_2005.vcproj +0 -360
- package/libusb/msvc/listdevs_sources +0 -20
- package/libusb/msvc/listdevs_wince.vcproj +0 -1120
- package/libusb/msvc/missing.c +0 -80
- package/libusb/msvc/stdint.h +0 -256
- package/libusb/msvc/stress_2005.vcproj +0 -390
- package/libusb/msvc/stress_2012.vcxproj +0 -87
- package/libusb/msvc/stress_sources +0 -21
- package/libusb/msvc/stress_wince.vcproj +0 -1128
- package/libusb/msvc/testlibusb_2012.vcxproj +0 -83
- package/libusb/msvc/testlibusb_sources +0 -20
- package/libusb/msvc/xusb.dsp +0 -102
- package/libusb/msvc/xusb_2005.vcproj +0 -344
- package/libusb/msvc/xusb_2012.vcxproj +0 -83
- package/libusb/msvc/xusb_sources +0 -20
- package/libusb/msvc/xusb_wince.vcproj +0 -1120
- package/libusb/travis-autogen.sh +0 -39
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ItemGroup>
|
|
4
|
+
<Filter Include="Source Files">
|
|
5
|
+
<UniqueIdentifier>{b331c0a5-4768-422a-9194-b30409d686f1}</UniqueIdentifier>
|
|
6
|
+
<Extensions>c;def</Extensions>
|
|
7
|
+
</Filter>
|
|
8
|
+
<Filter Include="Header Files">
|
|
9
|
+
<UniqueIdentifier>{2a88dc3a-a289-444d-8a31-5fc2f7b1a9ad}</UniqueIdentifier>
|
|
10
|
+
<Extensions>h</Extensions>
|
|
11
|
+
</Filter>
|
|
12
|
+
<Filter Include="Resource Files">
|
|
13
|
+
<UniqueIdentifier>{56507e4d-3872-49b5-b9b1-e49829611792}</UniqueIdentifier>
|
|
14
|
+
<Extensions>rc</Extensions>
|
|
15
|
+
</Filter>
|
|
16
|
+
</ItemGroup>
|
|
17
|
+
<ItemGroup>
|
|
18
|
+
<ClInclude Include=".\config.h">
|
|
19
|
+
<Filter>Header Files</Filter>
|
|
20
|
+
</ClInclude>
|
|
21
|
+
<ClInclude Include="..\libusb\os\events_windows.h">
|
|
22
|
+
<Filter>Header Files</Filter>
|
|
23
|
+
</ClInclude>
|
|
24
|
+
<ClInclude Include="..\libusb\libusb.h">
|
|
25
|
+
<Filter>Header Files</Filter>
|
|
26
|
+
</ClInclude>
|
|
27
|
+
<ClInclude Include="..\libusb\libusbi.h">
|
|
28
|
+
<Filter>Header Files</Filter>
|
|
29
|
+
</ClInclude>
|
|
30
|
+
<ClInclude Include="..\libusb\os\threads_windows.h">
|
|
31
|
+
<Filter>Header Files</Filter>
|
|
32
|
+
</ClInclude>
|
|
33
|
+
<ClInclude Include="..\libusb\version.h">
|
|
34
|
+
<Filter>Header Files</Filter>
|
|
35
|
+
</ClInclude>
|
|
36
|
+
<ClInclude Include="..\libusb\version_nano.h">
|
|
37
|
+
<Filter>Header Files</Filter>
|
|
38
|
+
</ClInclude>
|
|
39
|
+
<ClInclude Include="..\libusb\os\windows_common.h">
|
|
40
|
+
<Filter>Header Files</Filter>
|
|
41
|
+
</ClInclude>
|
|
42
|
+
<ClInclude Include="..\libusb\os\windows_usbdk.h">
|
|
43
|
+
<Filter>Header Files</Filter>
|
|
44
|
+
</ClInclude>
|
|
45
|
+
<ClInclude Include="..\libusb\os\windows_winusb.h">
|
|
46
|
+
<Filter>Header Files</Filter>
|
|
47
|
+
</ClInclude>
|
|
48
|
+
</ItemGroup>
|
|
49
|
+
<ItemGroup>
|
|
50
|
+
<ResourceCompile Include="..\libusb\libusb-1.0.rc">
|
|
51
|
+
<Filter>Resource Files</Filter>
|
|
52
|
+
</ResourceCompile>
|
|
53
|
+
</ItemGroup>
|
|
54
|
+
<ItemGroup>
|
|
55
|
+
<ClCompile Include="..\libusb\core.c">
|
|
56
|
+
<Filter>Source Files</Filter>
|
|
57
|
+
</ClCompile>
|
|
58
|
+
<ClCompile Include="..\libusb\descriptor.c">
|
|
59
|
+
<Filter>Source Files</Filter>
|
|
60
|
+
</ClCompile>
|
|
61
|
+
<ClCompile Include="..\libusb\os\events_windows.c">
|
|
62
|
+
<Filter>Source Files</Filter>
|
|
63
|
+
</ClCompile>
|
|
64
|
+
<ClCompile Include="..\libusb\hotplug.c">
|
|
65
|
+
<Filter>Source Files</Filter>
|
|
66
|
+
</ClCompile>
|
|
67
|
+
<ClCompile Include="..\libusb\io.c">
|
|
68
|
+
<Filter>Source Files</Filter>
|
|
69
|
+
</ClCompile>
|
|
70
|
+
<ClCompile Include="..\libusb\strerror.c">
|
|
71
|
+
<Filter>Source Files</Filter>
|
|
72
|
+
</ClCompile>
|
|
73
|
+
<ClCompile Include="..\libusb\sync.c">
|
|
74
|
+
<Filter>Source Files</Filter>
|
|
75
|
+
</ClCompile>
|
|
76
|
+
<ClCompile Include="..\libusb\os\threads_windows.c">
|
|
77
|
+
<Filter>Source Files</Filter>
|
|
78
|
+
</ClCompile>
|
|
79
|
+
<ClCompile Include="..\libusb\os\windows_common.c">
|
|
80
|
+
<Filter>Source Files</Filter>
|
|
81
|
+
</ClCompile>
|
|
82
|
+
<ClCompile Include="..\libusb\os\windows_usbdk.c">
|
|
83
|
+
<Filter>Source Files</Filter>
|
|
84
|
+
</ClCompile>
|
|
85
|
+
<ClCompile Include="..\libusb\os\windows_winusb.c">
|
|
86
|
+
<Filter>Source Files</Filter>
|
|
87
|
+
</ClCompile>
|
|
88
|
+
</ItemGroup>
|
|
89
|
+
<ItemGroup>
|
|
90
|
+
<None Include="..\libusb\libusb-1.0.def">
|
|
91
|
+
<Filter>Source Files</Filter>
|
|
92
|
+
</None>
|
|
93
|
+
</ItemGroup>
|
|
94
|
+
</Project>
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project DefaultTargets="Build" ToolsVersion="
|
|
2
|
+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
3
|
<ItemGroup Label="ProjectConfigurations">
|
|
4
|
+
<ProjectConfiguration Include="Debug|ARM">
|
|
5
|
+
<Configuration>Debug</Configuration>
|
|
6
|
+
<Platform>ARM</Platform>
|
|
7
|
+
</ProjectConfiguration>
|
|
8
|
+
<ProjectConfiguration Include="Debug|ARM64">
|
|
9
|
+
<Configuration>Debug</Configuration>
|
|
10
|
+
<Platform>ARM64</Platform>
|
|
11
|
+
</ProjectConfiguration>
|
|
4
12
|
<ProjectConfiguration Include="Debug|Win32">
|
|
5
13
|
<Configuration>Debug</Configuration>
|
|
6
14
|
<Platform>Win32</Platform>
|
|
@@ -9,6 +17,14 @@
|
|
|
9
17
|
<Configuration>Debug</Configuration>
|
|
10
18
|
<Platform>x64</Platform>
|
|
11
19
|
</ProjectConfiguration>
|
|
20
|
+
<ProjectConfiguration Include="Release|ARM">
|
|
21
|
+
<Configuration>Release</Configuration>
|
|
22
|
+
<Platform>ARM</Platform>
|
|
23
|
+
</ProjectConfiguration>
|
|
24
|
+
<ProjectConfiguration Include="Release|ARM64">
|
|
25
|
+
<Configuration>Release</Configuration>
|
|
26
|
+
<Platform>ARM64</Platform>
|
|
27
|
+
</ProjectConfiguration>
|
|
12
28
|
<ProjectConfiguration Include="Release|Win32">
|
|
13
29
|
<Configuration>Release</Configuration>
|
|
14
30
|
<Platform>Win32</Platform>
|
|
@@ -22,11 +38,15 @@
|
|
|
22
38
|
<ProjectName>libusb-1.0 (dll)</ProjectName>
|
|
23
39
|
<ProjectGuid>{349EE8FA-7D25-4909-AAF5-FF3FADE72187}</ProjectGuid>
|
|
24
40
|
<RootNamespace>libusbdll</RootNamespace>
|
|
41
|
+
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
|
|
42
|
+
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
|
|
43
|
+
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
|
25
44
|
</PropertyGroup>
|
|
26
45
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
27
46
|
<PropertyGroup Label="Configuration">
|
|
28
47
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
29
48
|
<CharacterSet>Unicode</CharacterSet>
|
|
49
|
+
<PlatformToolset>v142</PlatformToolset>
|
|
30
50
|
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
|
|
31
51
|
</PropertyGroup>
|
|
32
52
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
@@ -46,7 +66,7 @@
|
|
|
46
66
|
<ClCompile>
|
|
47
67
|
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
|
48
68
|
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
49
|
-
<PreprocessorDefinitions>
|
|
69
|
+
<PreprocessorDefinitions>_WIN32_WINNT=_WIN32_WINNT_VISTA;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
50
70
|
<WarningLevel>Level4</WarningLevel>
|
|
51
71
|
</ClCompile>
|
|
52
72
|
<ClCompile Condition="'$(Configuration)'=='Debug'">
|
|
@@ -61,6 +81,7 @@
|
|
|
61
81
|
<Link>
|
|
62
82
|
<EmbedManagedResourceFile>libusb-1.0.rc;%(EmbedManagedResourceFile)</EmbedManagedResourceFile>
|
|
63
83
|
<ModuleDefinitionFile>..\libusb\libusb-1.0.def</ModuleDefinitionFile>
|
|
84
|
+
<AdditionalDependencies>kernel32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
64
85
|
</Link>
|
|
65
86
|
<Link Condition="'$(Configuration)'=='Debug'">
|
|
66
87
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
@@ -69,28 +90,25 @@
|
|
|
69
90
|
<ItemGroup>
|
|
70
91
|
<ClCompile Include="..\libusb\core.c" />
|
|
71
92
|
<ClCompile Include="..\libusb\descriptor.c" />
|
|
93
|
+
<ClCompile Include="..\libusb\os\events_windows.c" />
|
|
72
94
|
<ClCompile Include="..\libusb\hotplug.c" />
|
|
73
95
|
<ClCompile Include="..\libusb\io.c" />
|
|
74
|
-
<ClCompile Include="..\libusb\os\poll_windows.c" />
|
|
75
96
|
<ClCompile Include="..\libusb\strerror.c" />
|
|
76
97
|
<ClCompile Include="..\libusb\sync.c" />
|
|
77
98
|
<ClCompile Include="..\libusb\os\threads_windows.c" />
|
|
78
|
-
<ClCompile Include="..\libusb\os\
|
|
99
|
+
<ClCompile Include="..\libusb\os\windows_common.c" />
|
|
79
100
|
<ClCompile Include="..\libusb\os\windows_usbdk.c" />
|
|
80
101
|
<ClCompile Include="..\libusb\os\windows_winusb.c" />
|
|
81
102
|
</ItemGroup>
|
|
82
103
|
<ItemGroup>
|
|
83
104
|
<ClInclude Include=".\config.h" />
|
|
84
|
-
<ClInclude Include="..\libusb\
|
|
105
|
+
<ClInclude Include="..\libusb\os\events_windows.h" />
|
|
85
106
|
<ClInclude Include="..\libusb\libusb.h" />
|
|
86
107
|
<ClInclude Include="..\libusb\libusbi.h" />
|
|
87
|
-
<ClInclude Include="..\libusb\os\poll_windows.h" />
|
|
88
108
|
<ClInclude Include="..\libusb\os\threads_windows.h" />
|
|
89
109
|
<ClInclude Include="..\libusb\version.h" />
|
|
90
110
|
<ClInclude Include="..\libusb\version_nano.h" />
|
|
91
111
|
<ClInclude Include="..\libusb\os\windows_common.h" />
|
|
92
|
-
<ClInclude Include="..\libusb\os\windows_nt_common.h" />
|
|
93
|
-
<ClInclude Include="..\libusb\os\windows_nt_shared_types.h" />
|
|
94
112
|
<ClInclude Include="..\libusb\os\windows_usbdk.h" />
|
|
95
113
|
<ClInclude Include="..\libusb\os\windows_winusb.h" />
|
|
96
114
|
</ItemGroup>
|
|
@@ -103,4 +121,4 @@
|
|
|
103
121
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
104
122
|
<ImportGroup Label="ExtensionTargets">
|
|
105
123
|
</ImportGroup>
|
|
106
|
-
</Project>
|
|
124
|
+
</Project>
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ItemGroup>
|
|
4
|
+
<Filter Include="Source Files">
|
|
5
|
+
<UniqueIdentifier>{b331c0a5-4768-422a-9194-b30409d686f1}</UniqueIdentifier>
|
|
6
|
+
<Extensions>c;def</Extensions>
|
|
7
|
+
</Filter>
|
|
8
|
+
<Filter Include="Header Files">
|
|
9
|
+
<UniqueIdentifier>{2a88dc3a-a289-444d-8a31-5fc2f7b1a9ad}</UniqueIdentifier>
|
|
10
|
+
<Extensions>h</Extensions>
|
|
11
|
+
</Filter>
|
|
12
|
+
<Filter Include="Resource Files">
|
|
13
|
+
<UniqueIdentifier>{56507e4d-3872-49b5-b9b1-e49829611792}</UniqueIdentifier>
|
|
14
|
+
<Extensions>rc</Extensions>
|
|
15
|
+
</Filter>
|
|
16
|
+
</ItemGroup>
|
|
17
|
+
<ItemGroup>
|
|
18
|
+
<ClInclude Include=".\config.h">
|
|
19
|
+
<Filter>Header Files</Filter>
|
|
20
|
+
</ClInclude>
|
|
21
|
+
<ClInclude Include="..\libusb\os\events_windows.h">
|
|
22
|
+
<Filter>Header Files</Filter>
|
|
23
|
+
</ClInclude>
|
|
24
|
+
<ClInclude Include="..\libusb\libusb.h">
|
|
25
|
+
<Filter>Header Files</Filter>
|
|
26
|
+
</ClInclude>
|
|
27
|
+
<ClInclude Include="..\libusb\libusbi.h">
|
|
28
|
+
<Filter>Header Files</Filter>
|
|
29
|
+
</ClInclude>
|
|
30
|
+
<ClInclude Include="..\libusb\os\threads_windows.h">
|
|
31
|
+
<Filter>Header Files</Filter>
|
|
32
|
+
</ClInclude>
|
|
33
|
+
<ClInclude Include="..\libusb\version.h">
|
|
34
|
+
<Filter>Header Files</Filter>
|
|
35
|
+
</ClInclude>
|
|
36
|
+
<ClInclude Include="..\libusb\version_nano.h">
|
|
37
|
+
<Filter>Header Files</Filter>
|
|
38
|
+
</ClInclude>
|
|
39
|
+
<ClInclude Include="..\libusb\os\windows_common.h">
|
|
40
|
+
<Filter>Header Files</Filter>
|
|
41
|
+
</ClInclude>
|
|
42
|
+
<ClInclude Include="..\libusb\os\windows_usbdk.h">
|
|
43
|
+
<Filter>Header Files</Filter>
|
|
44
|
+
</ClInclude>
|
|
45
|
+
<ClInclude Include="..\libusb\os\windows_winusb.h">
|
|
46
|
+
<Filter>Header Files</Filter>
|
|
47
|
+
</ClInclude>
|
|
48
|
+
</ItemGroup>
|
|
49
|
+
<ItemGroup>
|
|
50
|
+
<ResourceCompile Include="..\libusb\libusb-1.0.rc">
|
|
51
|
+
<Filter>Resource Files</Filter>
|
|
52
|
+
</ResourceCompile>
|
|
53
|
+
</ItemGroup>
|
|
54
|
+
<ItemGroup>
|
|
55
|
+
<ClCompile Include="..\libusb\core.c">
|
|
56
|
+
<Filter>Source Files</Filter>
|
|
57
|
+
</ClCompile>
|
|
58
|
+
<ClCompile Include="..\libusb\descriptor.c">
|
|
59
|
+
<Filter>Source Files</Filter>
|
|
60
|
+
</ClCompile>
|
|
61
|
+
<ClCompile Include="..\libusb\os\events_windows.c">
|
|
62
|
+
<Filter>Source Files</Filter>
|
|
63
|
+
</ClCompile>
|
|
64
|
+
<ClCompile Include="..\libusb\hotplug.c">
|
|
65
|
+
<Filter>Source Files</Filter>
|
|
66
|
+
</ClCompile>
|
|
67
|
+
<ClCompile Include="..\libusb\io.c">
|
|
68
|
+
<Filter>Source Files</Filter>
|
|
69
|
+
</ClCompile>
|
|
70
|
+
<ClCompile Include="..\libusb\strerror.c">
|
|
71
|
+
<Filter>Source Files</Filter>
|
|
72
|
+
</ClCompile>
|
|
73
|
+
<ClCompile Include="..\libusb\sync.c">
|
|
74
|
+
<Filter>Source Files</Filter>
|
|
75
|
+
</ClCompile>
|
|
76
|
+
<ClCompile Include="..\libusb\os\threads_windows.c">
|
|
77
|
+
<Filter>Source Files</Filter>
|
|
78
|
+
</ClCompile>
|
|
79
|
+
<ClCompile Include="..\libusb\os\windows_common.c">
|
|
80
|
+
<Filter>Source Files</Filter>
|
|
81
|
+
</ClCompile>
|
|
82
|
+
<ClCompile Include="..\libusb\os\windows_usbdk.c">
|
|
83
|
+
<Filter>Source Files</Filter>
|
|
84
|
+
</ClCompile>
|
|
85
|
+
<ClCompile Include="..\libusb\os\windows_winusb.c">
|
|
86
|
+
<Filter>Source Files</Filter>
|
|
87
|
+
</ClCompile>
|
|
88
|
+
</ItemGroup>
|
|
89
|
+
<ItemGroup>
|
|
90
|
+
<None Include="..\libusb\libusb-1.0.def">
|
|
91
|
+
<Filter>Source Files</Filter>
|
|
92
|
+
</None>
|
|
93
|
+
</ItemGroup>
|
|
94
|
+
</Project>
|
|
@@ -45,9 +45,8 @@
|
|
|
45
45
|
</PropertyGroup>
|
|
46
46
|
<ItemDefinitionGroup>
|
|
47
47
|
<ClCompile>
|
|
48
|
-
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
|
49
48
|
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
50
|
-
<PreprocessorDefinitions>
|
|
49
|
+
<PreprocessorDefinitions>_WIN32_WINNT=_WIN32_WINNT_VISTA;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
51
50
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
|
52
51
|
<WarningLevel>Level4</WarningLevel>
|
|
53
52
|
</ClCompile>
|
|
@@ -67,32 +66,29 @@
|
|
|
67
66
|
<ItemGroup>
|
|
68
67
|
<ClCompile Include="..\libusb\core.c" />
|
|
69
68
|
<ClCompile Include="..\libusb\descriptor.c" />
|
|
69
|
+
<ClCompile Include="..\libusb\os\events_windows.c" />
|
|
70
70
|
<ClCompile Include="..\libusb\hotplug.c" />
|
|
71
71
|
<ClCompile Include="..\libusb\io.c" />
|
|
72
|
-
<ClCompile Include="..\libusb\os\poll_windows.c" />
|
|
73
72
|
<ClCompile Include="..\libusb\strerror.c" />
|
|
74
73
|
<ClCompile Include="..\libusb\sync.c" />
|
|
75
74
|
<ClCompile Include="..\libusb\os\threads_windows.c" />
|
|
76
|
-
<ClCompile Include="..\libusb\os\
|
|
75
|
+
<ClCompile Include="..\libusb\os\windows_common.c" />
|
|
77
76
|
<ClCompile Include="..\libusb\os\windows_usbdk.c" />
|
|
78
77
|
<ClCompile Include="..\libusb\os\windows_winusb.c" />
|
|
79
78
|
</ItemGroup>
|
|
80
79
|
<ItemGroup>
|
|
81
80
|
<ClInclude Include=".\config.h" />
|
|
82
|
-
<ClInclude Include="..\libusb\
|
|
81
|
+
<ClInclude Include="..\libusb\os\events_windows.h" />
|
|
83
82
|
<ClInclude Include="..\libusb\libusb.h" />
|
|
84
83
|
<ClInclude Include="..\libusb\libusbi.h" />
|
|
85
|
-
<ClInclude Include="..\libusb\os\poll_windows.h" />
|
|
86
84
|
<ClInclude Include="..\libusb\os\threads_windows.h" />
|
|
87
85
|
<ClInclude Include="..\libusb\version.h" />
|
|
88
86
|
<ClInclude Include="..\libusb\version_nano.h" />
|
|
89
87
|
<ClInclude Include="..\libusb\os\windows_common.h" />
|
|
90
|
-
<ClInclude Include="..\libusb\os\windows_nt_common.h" />
|
|
91
|
-
<ClInclude Include="..\libusb\os\windows_nt_shared_types.h" />
|
|
92
88
|
<ClInclude Include="..\libusb\os\windows_usbdk.h" />
|
|
93
89
|
<ClInclude Include="..\libusb\os\windows_winusb.h" />
|
|
94
90
|
</ItemGroup>
|
|
95
91
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
96
92
|
<ImportGroup Label="ExtensionTargets">
|
|
97
93
|
</ImportGroup>
|
|
98
|
-
</Project>
|
|
94
|
+
</Project>
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ItemGroup>
|
|
4
|
+
<Filter Include="Source Files">
|
|
5
|
+
<UniqueIdentifier>{e01d2270-44db-420b-af4e-2ccf8b5e2758}</UniqueIdentifier>
|
|
6
|
+
<Extensions>c</Extensions>
|
|
7
|
+
</Filter>
|
|
8
|
+
<Filter Include="Header Files">
|
|
9
|
+
<UniqueIdentifier>{d86f23bc-6e95-4704-b2ff-dccb4133d5f9}</UniqueIdentifier>
|
|
10
|
+
<Extensions>h</Extensions>
|
|
11
|
+
</Filter>
|
|
12
|
+
</ItemGroup>
|
|
13
|
+
<ItemGroup>
|
|
14
|
+
<ClInclude Include=".\config.h">
|
|
15
|
+
<Filter>Header Files</Filter>
|
|
16
|
+
</ClInclude>
|
|
17
|
+
<ClInclude Include="..\libusb\os\events_windows.h">
|
|
18
|
+
<Filter>Header Files</Filter>
|
|
19
|
+
</ClInclude>
|
|
20
|
+
<ClInclude Include="..\libusb\libusb.h">
|
|
21
|
+
<Filter>Header Files</Filter>
|
|
22
|
+
</ClInclude>
|
|
23
|
+
<ClInclude Include="..\libusb\libusbi.h">
|
|
24
|
+
<Filter>Header Files</Filter>
|
|
25
|
+
</ClInclude>
|
|
26
|
+
<ClInclude Include="..\libusb\os\threads_windows.h">
|
|
27
|
+
<Filter>Header Files</Filter>
|
|
28
|
+
</ClInclude>
|
|
29
|
+
<ClInclude Include="..\libusb\os\windows_common.h">
|
|
30
|
+
<Filter>Header Files</Filter>
|
|
31
|
+
</ClInclude>
|
|
32
|
+
<ClInclude Include="..\libusb\os\windows_usbdk.h">
|
|
33
|
+
<Filter>Header Files</Filter>
|
|
34
|
+
</ClInclude>
|
|
35
|
+
<ClInclude Include="..\libusb\os\windows_winusb.h">
|
|
36
|
+
<Filter>Header Files</Filter>
|
|
37
|
+
</ClInclude>
|
|
38
|
+
<ClInclude Include="..\libusb\version.h">
|
|
39
|
+
<Filter>Header Files</Filter>
|
|
40
|
+
</ClInclude>
|
|
41
|
+
<ClInclude Include="..\libusb\version_nano.h">
|
|
42
|
+
<Filter>Header Files</Filter>
|
|
43
|
+
</ClInclude>
|
|
44
|
+
</ItemGroup>
|
|
45
|
+
<ItemGroup>
|
|
46
|
+
<ClCompile Include="..\libusb\core.c">
|
|
47
|
+
<Filter>Source Files</Filter>
|
|
48
|
+
</ClCompile>
|
|
49
|
+
<ClCompile Include="..\libusb\descriptor.c">
|
|
50
|
+
<Filter>Source Files</Filter>
|
|
51
|
+
</ClCompile>
|
|
52
|
+
<ClCompile Include="..\libusb\os\events_windows.c">
|
|
53
|
+
<Filter>Source Files</Filter>
|
|
54
|
+
</ClCompile>
|
|
55
|
+
<ClCompile Include="..\libusb\hotplug.c">
|
|
56
|
+
<Filter>Source Files</Filter>
|
|
57
|
+
</ClCompile>
|
|
58
|
+
<ClCompile Include="..\libusb\io.c">
|
|
59
|
+
<Filter>Source Files</Filter>
|
|
60
|
+
</ClCompile>
|
|
61
|
+
<ClCompile Include="..\libusb\strerror.c">
|
|
62
|
+
<Filter>Source Files</Filter>
|
|
63
|
+
</ClCompile>
|
|
64
|
+
<ClCompile Include="..\libusb\sync.c">
|
|
65
|
+
<Filter>Source Files</Filter>
|
|
66
|
+
</ClCompile>
|
|
67
|
+
<ClCompile Include="..\libusb\os\threads_windows.c">
|
|
68
|
+
<Filter>Source Files</Filter>
|
|
69
|
+
</ClCompile>
|
|
70
|
+
<ClCompile Include="..\libusb\os\windows_common.c">
|
|
71
|
+
<Filter>Source Files</Filter>
|
|
72
|
+
</ClCompile>
|
|
73
|
+
<ClCompile Include="..\libusb\os\windows_usbdk.c">
|
|
74
|
+
<Filter>Source Files</Filter>
|
|
75
|
+
</ClCompile>
|
|
76
|
+
<ClCompile Include="..\libusb\os\windows_winusb.c">
|
|
77
|
+
<Filter>Source Files</Filter>
|
|
78
|
+
</ClCompile>
|
|
79
|
+
</ItemGroup>
|
|
80
|
+
</Project>
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<ClCompile>
|
|
48
48
|
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
|
49
49
|
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
50
|
-
<PreprocessorDefinitions>
|
|
50
|
+
<PreprocessorDefinitions>_WIN32_WINNT=_WIN32_WINNT_VISTA;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
51
51
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
|
52
52
|
<WarningLevel>Level4</WarningLevel>
|
|
53
53
|
</ClCompile>
|
|
@@ -67,32 +67,29 @@
|
|
|
67
67
|
<ItemGroup>
|
|
68
68
|
<ClCompile Include="..\libusb\core.c" />
|
|
69
69
|
<ClCompile Include="..\libusb\descriptor.c" />
|
|
70
|
+
<ClCompile Include="..\libusb\os\events_windows.c" />
|
|
70
71
|
<ClCompile Include="..\libusb\hotplug.c" />
|
|
71
72
|
<ClCompile Include="..\libusb\io.c" />
|
|
72
|
-
<ClCompile Include="..\libusb\os\poll_windows.c" />
|
|
73
73
|
<ClCompile Include="..\libusb\strerror.c" />
|
|
74
74
|
<ClCompile Include="..\libusb\sync.c" />
|
|
75
75
|
<ClCompile Include="..\libusb\os\threads_windows.c" />
|
|
76
|
-
<ClCompile Include="..\libusb\os\
|
|
76
|
+
<ClCompile Include="..\libusb\os\windows_common.c" />
|
|
77
77
|
<ClCompile Include="..\libusb\os\windows_usbdk.c" />
|
|
78
78
|
<ClCompile Include="..\libusb\os\windows_winusb.c" />
|
|
79
79
|
</ItemGroup>
|
|
80
80
|
<ItemGroup>
|
|
81
81
|
<ClInclude Include=".\config.h" />
|
|
82
|
-
<ClInclude Include="..\libusb\
|
|
82
|
+
<ClInclude Include="..\libusb\os\events_windows.h" />
|
|
83
83
|
<ClInclude Include="..\libusb\libusb.h" />
|
|
84
84
|
<ClInclude Include="..\libusb\libusbi.h" />
|
|
85
|
-
<ClInclude Include="..\libusb\os\poll_windows.h" />
|
|
86
85
|
<ClInclude Include="..\libusb\os\threads_windows.h" />
|
|
87
86
|
<ClInclude Include="..\libusb\version.h" />
|
|
88
87
|
<ClInclude Include="..\libusb\version_nano.h" />
|
|
89
88
|
<ClInclude Include="..\libusb\os\windows_common.h" />
|
|
90
|
-
<ClInclude Include="..\libusb\os\windows_nt_common.h" />
|
|
91
|
-
<ClInclude Include="..\libusb\os\windows_nt_shared_types.h" />
|
|
92
89
|
<ClInclude Include="..\libusb\os\windows_usbdk.h" />
|
|
93
90
|
<ClInclude Include="..\libusb\os\windows_winusb.h" />
|
|
94
91
|
</ItemGroup>
|
|
95
92
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
96
93
|
<ImportGroup Label="ExtensionTargets">
|
|
97
94
|
</ImportGroup>
|
|
98
|
-
</Project>
|
|
95
|
+
</Project>
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
+
<ItemGroup>
|
|
4
|
+
<Filter Include="Source Files">
|
|
5
|
+
<UniqueIdentifier>{e01d2270-44db-420b-af4e-2ccf8b5e2758}</UniqueIdentifier>
|
|
6
|
+
<Extensions>c</Extensions>
|
|
7
|
+
</Filter>
|
|
8
|
+
<Filter Include="Header Files">
|
|
9
|
+
<UniqueIdentifier>{d86f23bc-6e95-4704-b2ff-dccb4133d5f9}</UniqueIdentifier>
|
|
10
|
+
<Extensions>h</Extensions>
|
|
11
|
+
</Filter>
|
|
12
|
+
</ItemGroup>
|
|
13
|
+
<ItemGroup>
|
|
14
|
+
<ClInclude Include=".\config.h">
|
|
15
|
+
<Filter>Header Files</Filter>
|
|
16
|
+
</ClInclude>
|
|
17
|
+
<ClInclude Include="..\libusb\os\events_windows.h">
|
|
18
|
+
<Filter>Header Files</Filter>
|
|
19
|
+
</ClInclude>
|
|
20
|
+
<ClInclude Include="..\libusb\libusb.h">
|
|
21
|
+
<Filter>Header Files</Filter>
|
|
22
|
+
</ClInclude>
|
|
23
|
+
<ClInclude Include="..\libusb\libusbi.h">
|
|
24
|
+
<Filter>Header Files</Filter>
|
|
25
|
+
</ClInclude>
|
|
26
|
+
<ClInclude Include="..\libusb\os\threads_windows.h">
|
|
27
|
+
<Filter>Header Files</Filter>
|
|
28
|
+
</ClInclude>
|
|
29
|
+
<ClInclude Include="..\libusb\os\windows_common.h">
|
|
30
|
+
<Filter>Header Files</Filter>
|
|
31
|
+
</ClInclude>
|
|
32
|
+
<ClInclude Include="..\libusb\os\windows_usbdk.h">
|
|
33
|
+
<Filter>Header Files</Filter>
|
|
34
|
+
</ClInclude>
|
|
35
|
+
<ClInclude Include="..\libusb\os\windows_winusb.h">
|
|
36
|
+
<Filter>Header Files</Filter>
|
|
37
|
+
</ClInclude>
|
|
38
|
+
<ClInclude Include="..\libusb\version.h">
|
|
39
|
+
<Filter>Header Files</Filter>
|
|
40
|
+
</ClInclude>
|
|
41
|
+
<ClInclude Include="..\libusb\version_nano.h">
|
|
42
|
+
<Filter>Header Files</Filter>
|
|
43
|
+
</ClInclude>
|
|
44
|
+
</ItemGroup>
|
|
45
|
+
<ItemGroup>
|
|
46
|
+
<ClCompile Include="..\libusb\core.c">
|
|
47
|
+
<Filter>Source Files</Filter>
|
|
48
|
+
</ClCompile>
|
|
49
|
+
<ClCompile Include="..\libusb\descriptor.c">
|
|
50
|
+
<Filter>Source Files</Filter>
|
|
51
|
+
</ClCompile>
|
|
52
|
+
<ClCompile Include="..\libusb\os\events_windows.c">
|
|
53
|
+
<Filter>Source Files</Filter>
|
|
54
|
+
</ClCompile>
|
|
55
|
+
<ClCompile Include="..\libusb\hotplug.c">
|
|
56
|
+
<Filter>Source Files</Filter>
|
|
57
|
+
</ClCompile>
|
|
58
|
+
<ClCompile Include="..\libusb\io.c">
|
|
59
|
+
<Filter>Source Files</Filter>
|
|
60
|
+
</ClCompile>
|
|
61
|
+
<ClCompile Include="..\libusb\strerror.c">
|
|
62
|
+
<Filter>Source Files</Filter>
|
|
63
|
+
</ClCompile>
|
|
64
|
+
<ClCompile Include="..\libusb\sync.c">
|
|
65
|
+
<Filter>Source Files</Filter>
|
|
66
|
+
</ClCompile>
|
|
67
|
+
<ClCompile Include="..\libusb\os\threads_windows.c">
|
|
68
|
+
<Filter>Source Files</Filter>
|
|
69
|
+
</ClCompile>
|
|
70
|
+
<ClCompile Include="..\libusb\os\windows_common.c">
|
|
71
|
+
<Filter>Source Files</Filter>
|
|
72
|
+
</ClCompile>
|
|
73
|
+
<ClCompile Include="..\libusb\os\windows_usbdk.c">
|
|
74
|
+
<Filter>Source Files</Filter>
|
|
75
|
+
</ClCompile>
|
|
76
|
+
<ClCompile Include="..\libusb\os\windows_winusb.c">
|
|
77
|
+
<Filter>Source Files</Filter>
|
|
78
|
+
</ClCompile>
|
|
79
|
+
</ItemGroup>
|
|
80
|
+
</Project>
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
<ProjectName>libusb-1.0 (static)</ProjectName>
|
|
39
39
|
<ProjectGuid>{349EE8F9-7D25-4909-AAF5-FF3FADE72187}</ProjectGuid>
|
|
40
40
|
<RootNamespace>libusb</RootNamespace>
|
|
41
|
-
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
|
|
42
41
|
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
|
|
43
42
|
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
|
|
43
|
+
<WindowsTargetPlatformVersion Condition="'$(Platform)'=='ARM' Or '$(Platform)'=='ARM64'">10.0.17763.0</WindowsTargetPlatformVersion>
|
|
44
44
|
</PropertyGroup>
|
|
45
45
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
46
46
|
<PropertyGroup Label="Configuration">
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<ClCompile>
|
|
67
67
|
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
|
68
68
|
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
69
|
-
<PreprocessorDefinitions>
|
|
69
|
+
<PreprocessorDefinitions>_WIN32_WINNT=_WIN32_WINNT_VISTA;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
70
70
|
<ProgramDataBaseFileName>$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
|
|
71
71
|
<WarningLevel>Level4</WarningLevel>
|
|
72
72
|
</ClCompile>
|
|
@@ -86,28 +86,25 @@
|
|
|
86
86
|
<ItemGroup>
|
|
87
87
|
<ClCompile Include="..\libusb\core.c" />
|
|
88
88
|
<ClCompile Include="..\libusb\descriptor.c" />
|
|
89
|
+
<ClCompile Include="..\libusb\os\events_windows.c" />
|
|
89
90
|
<ClCompile Include="..\libusb\hotplug.c" />
|
|
90
91
|
<ClCompile Include="..\libusb\io.c" />
|
|
91
|
-
<ClCompile Include="..\libusb\os\poll_windows.c" />
|
|
92
92
|
<ClCompile Include="..\libusb\strerror.c" />
|
|
93
93
|
<ClCompile Include="..\libusb\sync.c" />
|
|
94
94
|
<ClCompile Include="..\libusb\os\threads_windows.c" />
|
|
95
|
-
<ClCompile Include="..\libusb\os\
|
|
95
|
+
<ClCompile Include="..\libusb\os\windows_common.c" />
|
|
96
96
|
<ClCompile Include="..\libusb\os\windows_usbdk.c" />
|
|
97
97
|
<ClCompile Include="..\libusb\os\windows_winusb.c" />
|
|
98
98
|
</ItemGroup>
|
|
99
99
|
<ItemGroup>
|
|
100
100
|
<ClInclude Include=".\config.h" />
|
|
101
|
-
<ClInclude Include="..\libusb\
|
|
101
|
+
<ClInclude Include="..\libusb\os\events_windows.h" />
|
|
102
102
|
<ClInclude Include="..\libusb\libusb.h" />
|
|
103
103
|
<ClInclude Include="..\libusb\libusbi.h" />
|
|
104
|
-
<ClInclude Include="..\libusb\os\poll_windows.h" />
|
|
105
104
|
<ClInclude Include="..\libusb\os\threads_windows.h" />
|
|
106
105
|
<ClInclude Include="..\libusb\version.h" />
|
|
107
106
|
<ClInclude Include="..\libusb\version_nano.h" />
|
|
108
107
|
<ClInclude Include="..\libusb\os\windows_common.h" />
|
|
109
|
-
<ClInclude Include="..\libusb\os\windows_nt_common.h" />
|
|
110
|
-
<ClInclude Include="..\libusb\os\windows_nt_shared_types.h" />
|
|
111
108
|
<ClInclude Include="..\libusb\os\windows_usbdk.h" />
|
|
112
109
|
<ClInclude Include="..\libusb\os\windows_winusb.h" />
|
|
113
110
|
</ItemGroup>
|