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
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<ItemGroup Label="ProjectConfigurations">
|
|
4
|
-
<ProjectConfiguration Include="Debug|Win32">
|
|
5
|
-
<Configuration>Debug</Configuration>
|
|
6
|
-
<Platform>Win32</Platform>
|
|
7
|
-
</ProjectConfiguration>
|
|
8
|
-
<ProjectConfiguration Include="Debug|x64">
|
|
9
|
-
<Configuration>Debug</Configuration>
|
|
10
|
-
<Platform>x64</Platform>
|
|
11
|
-
</ProjectConfiguration>
|
|
12
|
-
<ProjectConfiguration Include="Release|Win32">
|
|
13
|
-
<Configuration>Release</Configuration>
|
|
14
|
-
<Platform>Win32</Platform>
|
|
15
|
-
</ProjectConfiguration>
|
|
16
|
-
<ProjectConfiguration Include="Release|x64">
|
|
17
|
-
<Configuration>Release</Configuration>
|
|
18
|
-
<Platform>x64</Platform>
|
|
19
|
-
</ProjectConfiguration>
|
|
20
|
-
</ItemGroup>
|
|
21
|
-
<PropertyGroup Label="Globals">
|
|
22
|
-
<ProjectName>testlibusb</ProjectName>
|
|
23
|
-
<ProjectGuid>{70828935-325B-4749-B381-0E55EF31AEE8}</ProjectGuid>
|
|
24
|
-
<RootNamespace>examples</RootNamespace>
|
|
25
|
-
<Keyword>Win32Proj</Keyword>
|
|
26
|
-
</PropertyGroup>
|
|
27
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
28
|
-
<PropertyGroup Label="Configuration">
|
|
29
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
30
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
31
|
-
<PlatformToolset>v110</PlatformToolset>
|
|
32
|
-
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
|
|
33
|
-
</PropertyGroup>
|
|
34
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
35
|
-
<ImportGroup Label="ExtensionSettings">
|
|
36
|
-
</ImportGroup>
|
|
37
|
-
<ImportGroup Label="PropertySheets">
|
|
38
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
39
|
-
</ImportGroup>
|
|
40
|
-
<PropertyGroup Label="UserMacros" />
|
|
41
|
-
<PropertyGroup>
|
|
42
|
-
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
43
|
-
<IntDir>$(ProjectDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
44
|
-
<OutDir>$(ProjectDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
45
|
-
</PropertyGroup>
|
|
46
|
-
<ItemDefinitionGroup>
|
|
47
|
-
<ClCompile>
|
|
48
|
-
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
|
49
|
-
<AdditionalIncludeDirectories>..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
50
|
-
<PreprocessorDefinitions>_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
51
|
-
<WarningLevel>Level3</WarningLevel>
|
|
52
|
-
</ClCompile>
|
|
53
|
-
<ClCompile Condition="'$(Configuration)'=='Debug'">
|
|
54
|
-
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
55
|
-
<MinimalRebuild>true</MinimalRebuild>
|
|
56
|
-
<Optimization>Disabled</Optimization>
|
|
57
|
-
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
58
|
-
</ClCompile>
|
|
59
|
-
<ClCompile Condition="'$(Configuration)'=='Release'">
|
|
60
|
-
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
61
|
-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
62
|
-
</ClCompile>
|
|
63
|
-
<Link>
|
|
64
|
-
<ProgramDatabaseFile>$(TargetDir)$(ProjectName).pdb</ProgramDatabaseFile>
|
|
65
|
-
<SubSystem>Console</SubSystem>
|
|
66
|
-
</Link>
|
|
67
|
-
<Link Condition="'$(Configuration)'=='Debug'">
|
|
68
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
69
|
-
</Link>
|
|
70
|
-
</ItemDefinitionGroup>
|
|
71
|
-
<ItemGroup>
|
|
72
|
-
<ClCompile Include="..\examples\testlibusb.c" />
|
|
73
|
-
</ItemGroup>
|
|
74
|
-
<ItemGroup>
|
|
75
|
-
<ProjectReference Include=".\libusb_static_2012.vcxproj">
|
|
76
|
-
<Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
|
|
77
|
-
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
78
|
-
</ProjectReference>
|
|
79
|
-
</ItemGroup>
|
|
80
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
81
|
-
<ImportGroup Label="ExtensionTargets">
|
|
82
|
-
</ImportGroup>
|
|
83
|
-
</Project>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
TARGETNAME=testlibusb
|
|
2
|
-
TARGETTYPE=PROGRAM
|
|
3
|
-
386_STDCALL=0
|
|
4
|
-
|
|
5
|
-
_NT_TARGET_VERSION=$(_NT_TARGET_VERSION_WINXP)
|
|
6
|
-
|
|
7
|
-
!IFNDEF MSC_WARNING_LEVEL
|
|
8
|
-
MSC_WARNING_LEVEL=/W3
|
|
9
|
-
!ENDIF
|
|
10
|
-
|
|
11
|
-
!IFDEF STATIC_LIBC
|
|
12
|
-
USE_LIBCMT=1
|
|
13
|
-
!ELSE
|
|
14
|
-
USE_MSVCRT=1
|
|
15
|
-
!ENDIF
|
|
16
|
-
|
|
17
|
-
UMTYPE=console
|
|
18
|
-
INCLUDES=..\..\msvc;..\..\libusb;$(DDK_INC_PATH)
|
|
19
|
-
UMLIBS=..\..\libusb\os\obj$(BUILD_ALT_DIR)\*\libusb-1.0.lib
|
|
20
|
-
SOURCES=..\testlibusb.c
|
package/libusb/msvc/xusb.dsp
DELETED
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
# Microsoft Developer Studio Project File - Name="xusb" - Package Owner=<4>
|
|
2
|
-
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
|
3
|
-
# ** DO NOT EDIT **
|
|
4
|
-
|
|
5
|
-
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
|
6
|
-
|
|
7
|
-
CFG=xusb - Win32 Debug
|
|
8
|
-
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
|
9
|
-
!MESSAGE use the Export Makefile command and run
|
|
10
|
-
!MESSAGE
|
|
11
|
-
!MESSAGE NMAKE /f "xusb.mak".
|
|
12
|
-
!MESSAGE
|
|
13
|
-
!MESSAGE You can specify a configuration when running NMAKE
|
|
14
|
-
!MESSAGE by defining the macro CFG on the command line. For example:
|
|
15
|
-
!MESSAGE
|
|
16
|
-
!MESSAGE NMAKE /f "xusb.mak" CFG="xusb - Win32 Debug"
|
|
17
|
-
!MESSAGE
|
|
18
|
-
!MESSAGE Possible choices for configuration are:
|
|
19
|
-
!MESSAGE
|
|
20
|
-
!MESSAGE "xusb - Win32 Release" (based on "Win32 (x86) Console Application")
|
|
21
|
-
!MESSAGE "xusb - Win32 Debug" (based on "Win32 (x86) Console Application")
|
|
22
|
-
!MESSAGE
|
|
23
|
-
|
|
24
|
-
# Begin Project
|
|
25
|
-
# PROP AllowPerConfigDependencies 0
|
|
26
|
-
# PROP Scc_ProjName ""
|
|
27
|
-
# PROP Scc_LocalPath ""
|
|
28
|
-
CPP=cl.exe
|
|
29
|
-
RSC=rc.exe
|
|
30
|
-
|
|
31
|
-
!IF "$(CFG)" == "xusb - Win32 Release"
|
|
32
|
-
|
|
33
|
-
# PROP BASE Use_MFC 0
|
|
34
|
-
# PROP BASE Use_Debug_Libraries 0
|
|
35
|
-
# PROP BASE Output_Dir "Release"
|
|
36
|
-
# PROP BASE Intermediate_Dir "Release"
|
|
37
|
-
# PROP BASE Target_Dir ""
|
|
38
|
-
# PROP Use_MFC 0
|
|
39
|
-
# PROP Use_Debug_Libraries 0
|
|
40
|
-
# PROP Output_Dir "../Win32/Release/examples"
|
|
41
|
-
# PROP Intermediate_Dir "../Win32/Release/examples/xusb"
|
|
42
|
-
# PROP Ignore_Export_Lib 0
|
|
43
|
-
# PROP Target_Dir ""
|
|
44
|
-
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /FD /c
|
|
45
|
-
# ADD CPP /nologo /MD /W3 /GX /O2 /I "." /I "../libusb" /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /U "_MBCS" /FR /FD /EHsc /c
|
|
46
|
-
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
|
47
|
-
# ADD RSC /l 0x409 /d "NDEBUG"
|
|
48
|
-
BSC32=bscmake.exe
|
|
49
|
-
# ADD BASE BSC32 /nologo
|
|
50
|
-
# ADD BSC32 /nologo
|
|
51
|
-
LINK32=link.exe
|
|
52
|
-
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
|
53
|
-
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
|
54
|
-
|
|
55
|
-
!ELSEIF "$(CFG)" == "xusb - Win32 Debug"
|
|
56
|
-
|
|
57
|
-
# PROP BASE Use_MFC 0
|
|
58
|
-
# PROP BASE Use_Debug_Libraries 1
|
|
59
|
-
# PROP BASE Output_Dir "xusb___Win32_Debug"
|
|
60
|
-
# PROP BASE Intermediate_Dir "xusb___Win32_Debug"
|
|
61
|
-
# PROP BASE Target_Dir ""
|
|
62
|
-
# PROP Use_MFC 0
|
|
63
|
-
# PROP Use_Debug_Libraries 1
|
|
64
|
-
# PROP Output_Dir "../Win32/Debug/examples"
|
|
65
|
-
# PROP Intermediate_Dir "../Win32/Debug/examples/xusb"
|
|
66
|
-
# PROP Ignore_Export_Lib 0
|
|
67
|
-
# PROP Target_Dir ""
|
|
68
|
-
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /FD /GZ /c
|
|
69
|
-
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "." /I "../libusb" /I "." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /U "_MBCS" /FR /FD /GZ /EHsc /c
|
|
70
|
-
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
|
71
|
-
# ADD RSC /l 0x409 /d "_DEBUG"
|
|
72
|
-
BSC32=bscmake.exe
|
|
73
|
-
# ADD BASE BSC32 /nologo
|
|
74
|
-
# ADD BSC32 /nologo /n "../Win32/Debug/dll/core.sbr" "../Win32/Debug/dll/descriptor.sbr" "../Win32/Debug/dll/io.sbr" "../Win32/Debug/dll/sync.sbr" "../Win32/Debug/dll/poll_windows.sbr" "../Win32/Debug/dll/threads_windows.sbr" "../Win32/Debug/dll/windows_usb.sbr"
|
|
75
|
-
LINK32=link.exe
|
|
76
|
-
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
|
77
|
-
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib shell32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386
|
|
78
|
-
|
|
79
|
-
!ENDIF
|
|
80
|
-
|
|
81
|
-
# Begin Target
|
|
82
|
-
|
|
83
|
-
# Name "xusb - Win32 Release"
|
|
84
|
-
# Name "xusb - Win32 Debug"
|
|
85
|
-
# Begin Group "Source Files"
|
|
86
|
-
|
|
87
|
-
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
|
88
|
-
# Begin Source File
|
|
89
|
-
|
|
90
|
-
SOURCE=..\examples\xusb.c
|
|
91
|
-
# End Source File
|
|
92
|
-
# End Group
|
|
93
|
-
# Begin Group "Header Files"
|
|
94
|
-
|
|
95
|
-
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
|
96
|
-
# End Group
|
|
97
|
-
# Begin Group "Resource Files"
|
|
98
|
-
|
|
99
|
-
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
|
100
|
-
# End Group
|
|
101
|
-
# End Target
|
|
102
|
-
# End Project
|
|
@@ -1,344 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="Windows-1252"?>
|
|
2
|
-
<VisualStudioProject
|
|
3
|
-
ProjectType="Visual C++"
|
|
4
|
-
Version="8.00"
|
|
5
|
-
Name="xusb"
|
|
6
|
-
ProjectGUID="{08A6FA39-21B7-4A05-9252-2F9864A5E5A4}"
|
|
7
|
-
RootNamespace="examples"
|
|
8
|
-
Keyword="Win32Proj"
|
|
9
|
-
>
|
|
10
|
-
<Platforms>
|
|
11
|
-
<Platform
|
|
12
|
-
Name="Win32"
|
|
13
|
-
/>
|
|
14
|
-
<Platform
|
|
15
|
-
Name="x64"
|
|
16
|
-
/>
|
|
17
|
-
</Platforms>
|
|
18
|
-
<ToolFiles>
|
|
19
|
-
</ToolFiles>
|
|
20
|
-
<Configurations>
|
|
21
|
-
<Configuration
|
|
22
|
-
Name="Debug|Win32"
|
|
23
|
-
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples"
|
|
24
|
-
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)"
|
|
25
|
-
ConfigurationType="1"
|
|
26
|
-
CharacterSet="1"
|
|
27
|
-
>
|
|
28
|
-
<Tool
|
|
29
|
-
Name="VCPreBuildEventTool"
|
|
30
|
-
/>
|
|
31
|
-
<Tool
|
|
32
|
-
Name="VCCustomBuildTool"
|
|
33
|
-
/>
|
|
34
|
-
<Tool
|
|
35
|
-
Name="VCXMLDataGeneratorTool"
|
|
36
|
-
/>
|
|
37
|
-
<Tool
|
|
38
|
-
Name="VCWebServiceProxyGeneratorTool"
|
|
39
|
-
/>
|
|
40
|
-
<Tool
|
|
41
|
-
Name="VCMIDLTool"
|
|
42
|
-
/>
|
|
43
|
-
<Tool
|
|
44
|
-
Name="VCCLCompilerTool"
|
|
45
|
-
Optimization="0"
|
|
46
|
-
AdditionalIncludeDirectories=".;..\libusb"
|
|
47
|
-
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
|
|
48
|
-
MinimalRebuild="true"
|
|
49
|
-
BasicRuntimeChecks="3"
|
|
50
|
-
RuntimeLibrary="3"
|
|
51
|
-
UsePrecompiledHeader="0"
|
|
52
|
-
WarningLevel="3"
|
|
53
|
-
Detect64BitPortabilityProblems="false"
|
|
54
|
-
DebugInformationFormat="4"
|
|
55
|
-
/>
|
|
56
|
-
<Tool
|
|
57
|
-
Name="VCManagedResourceCompilerTool"
|
|
58
|
-
/>
|
|
59
|
-
<Tool
|
|
60
|
-
Name="VCResourceCompilerTool"
|
|
61
|
-
/>
|
|
62
|
-
<Tool
|
|
63
|
-
Name="VCPreLinkEventTool"
|
|
64
|
-
/>
|
|
65
|
-
<Tool
|
|
66
|
-
Name="VCLinkerTool"
|
|
67
|
-
LinkIncremental="2"
|
|
68
|
-
GenerateDebugInformation="true"
|
|
69
|
-
SubSystem="1"
|
|
70
|
-
TargetMachine="1"
|
|
71
|
-
/>
|
|
72
|
-
<Tool
|
|
73
|
-
Name="VCALinkTool"
|
|
74
|
-
/>
|
|
75
|
-
<Tool
|
|
76
|
-
Name="VCManifestTool"
|
|
77
|
-
/>
|
|
78
|
-
<Tool
|
|
79
|
-
Name="VCXDCMakeTool"
|
|
80
|
-
/>
|
|
81
|
-
<Tool
|
|
82
|
-
Name="VCBscMakeTool"
|
|
83
|
-
/>
|
|
84
|
-
<Tool
|
|
85
|
-
Name="VCFxCopTool"
|
|
86
|
-
/>
|
|
87
|
-
<Tool
|
|
88
|
-
Name="VCAppVerifierTool"
|
|
89
|
-
/>
|
|
90
|
-
<Tool
|
|
91
|
-
Name="VCWebDeploymentTool"
|
|
92
|
-
/>
|
|
93
|
-
<Tool
|
|
94
|
-
Name="VCPostBuildEventTool"
|
|
95
|
-
/>
|
|
96
|
-
</Configuration>
|
|
97
|
-
<Configuration
|
|
98
|
-
Name="Release|Win32"
|
|
99
|
-
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples"
|
|
100
|
-
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)"
|
|
101
|
-
ConfigurationType="1"
|
|
102
|
-
CharacterSet="1"
|
|
103
|
-
WholeProgramOptimization="1"
|
|
104
|
-
>
|
|
105
|
-
<Tool
|
|
106
|
-
Name="VCPreBuildEventTool"
|
|
107
|
-
/>
|
|
108
|
-
<Tool
|
|
109
|
-
Name="VCCustomBuildTool"
|
|
110
|
-
/>
|
|
111
|
-
<Tool
|
|
112
|
-
Name="VCXMLDataGeneratorTool"
|
|
113
|
-
/>
|
|
114
|
-
<Tool
|
|
115
|
-
Name="VCWebServiceProxyGeneratorTool"
|
|
116
|
-
/>
|
|
117
|
-
<Tool
|
|
118
|
-
Name="VCMIDLTool"
|
|
119
|
-
/>
|
|
120
|
-
<Tool
|
|
121
|
-
Name="VCCLCompilerTool"
|
|
122
|
-
AdditionalIncludeDirectories=".;..\libusb"
|
|
123
|
-
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
|
|
124
|
-
RuntimeLibrary="2"
|
|
125
|
-
UsePrecompiledHeader="0"
|
|
126
|
-
WarningLevel="3"
|
|
127
|
-
Detect64BitPortabilityProblems="false"
|
|
128
|
-
DebugInformationFormat="3"
|
|
129
|
-
/>
|
|
130
|
-
<Tool
|
|
131
|
-
Name="VCManagedResourceCompilerTool"
|
|
132
|
-
/>
|
|
133
|
-
<Tool
|
|
134
|
-
Name="VCResourceCompilerTool"
|
|
135
|
-
/>
|
|
136
|
-
<Tool
|
|
137
|
-
Name="VCPreLinkEventTool"
|
|
138
|
-
/>
|
|
139
|
-
<Tool
|
|
140
|
-
Name="VCLinkerTool"
|
|
141
|
-
LinkIncremental="1"
|
|
142
|
-
GenerateDebugInformation="true"
|
|
143
|
-
SubSystem="1"
|
|
144
|
-
OptimizeReferences="2"
|
|
145
|
-
EnableCOMDATFolding="2"
|
|
146
|
-
TargetMachine="1"
|
|
147
|
-
/>
|
|
148
|
-
<Tool
|
|
149
|
-
Name="VCALinkTool"
|
|
150
|
-
/>
|
|
151
|
-
<Tool
|
|
152
|
-
Name="VCManifestTool"
|
|
153
|
-
/>
|
|
154
|
-
<Tool
|
|
155
|
-
Name="VCXDCMakeTool"
|
|
156
|
-
/>
|
|
157
|
-
<Tool
|
|
158
|
-
Name="VCBscMakeTool"
|
|
159
|
-
/>
|
|
160
|
-
<Tool
|
|
161
|
-
Name="VCFxCopTool"
|
|
162
|
-
/>
|
|
163
|
-
<Tool
|
|
164
|
-
Name="VCAppVerifierTool"
|
|
165
|
-
/>
|
|
166
|
-
<Tool
|
|
167
|
-
Name="VCWebDeploymentTool"
|
|
168
|
-
/>
|
|
169
|
-
<Tool
|
|
170
|
-
Name="VCPostBuildEventTool"
|
|
171
|
-
/>
|
|
172
|
-
</Configuration>
|
|
173
|
-
<Configuration
|
|
174
|
-
Name="Debug|x64"
|
|
175
|
-
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples"
|
|
176
|
-
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)"
|
|
177
|
-
ConfigurationType="1"
|
|
178
|
-
CharacterSet="1"
|
|
179
|
-
>
|
|
180
|
-
<Tool
|
|
181
|
-
Name="VCPreBuildEventTool"
|
|
182
|
-
/>
|
|
183
|
-
<Tool
|
|
184
|
-
Name="VCCustomBuildTool"
|
|
185
|
-
/>
|
|
186
|
-
<Tool
|
|
187
|
-
Name="VCXMLDataGeneratorTool"
|
|
188
|
-
/>
|
|
189
|
-
<Tool
|
|
190
|
-
Name="VCWebServiceProxyGeneratorTool"
|
|
191
|
-
/>
|
|
192
|
-
<Tool
|
|
193
|
-
Name="VCMIDLTool"
|
|
194
|
-
TargetEnvironment="3"
|
|
195
|
-
/>
|
|
196
|
-
<Tool
|
|
197
|
-
Name="VCCLCompilerTool"
|
|
198
|
-
Optimization="0"
|
|
199
|
-
AdditionalIncludeDirectories=".;..\libusb"
|
|
200
|
-
PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
|
|
201
|
-
MinimalRebuild="true"
|
|
202
|
-
BasicRuntimeChecks="3"
|
|
203
|
-
RuntimeLibrary="3"
|
|
204
|
-
UsePrecompiledHeader="0"
|
|
205
|
-
WarningLevel="3"
|
|
206
|
-
Detect64BitPortabilityProblems="false"
|
|
207
|
-
DebugInformationFormat="3"
|
|
208
|
-
/>
|
|
209
|
-
<Tool
|
|
210
|
-
Name="VCManagedResourceCompilerTool"
|
|
211
|
-
/>
|
|
212
|
-
<Tool
|
|
213
|
-
Name="VCResourceCompilerTool"
|
|
214
|
-
/>
|
|
215
|
-
<Tool
|
|
216
|
-
Name="VCPreLinkEventTool"
|
|
217
|
-
/>
|
|
218
|
-
<Tool
|
|
219
|
-
Name="VCLinkerTool"
|
|
220
|
-
LinkIncremental="2"
|
|
221
|
-
GenerateDebugInformation="true"
|
|
222
|
-
SubSystem="1"
|
|
223
|
-
TargetMachine="17"
|
|
224
|
-
/>
|
|
225
|
-
<Tool
|
|
226
|
-
Name="VCALinkTool"
|
|
227
|
-
/>
|
|
228
|
-
<Tool
|
|
229
|
-
Name="VCManifestTool"
|
|
230
|
-
/>
|
|
231
|
-
<Tool
|
|
232
|
-
Name="VCXDCMakeTool"
|
|
233
|
-
/>
|
|
234
|
-
<Tool
|
|
235
|
-
Name="VCBscMakeTool"
|
|
236
|
-
/>
|
|
237
|
-
<Tool
|
|
238
|
-
Name="VCFxCopTool"
|
|
239
|
-
/>
|
|
240
|
-
<Tool
|
|
241
|
-
Name="VCAppVerifierTool"
|
|
242
|
-
/>
|
|
243
|
-
<Tool
|
|
244
|
-
Name="VCWebDeploymentTool"
|
|
245
|
-
/>
|
|
246
|
-
<Tool
|
|
247
|
-
Name="VCPostBuildEventTool"
|
|
248
|
-
/>
|
|
249
|
-
</Configuration>
|
|
250
|
-
<Configuration
|
|
251
|
-
Name="Release|x64"
|
|
252
|
-
OutputDirectory="..\$(PlatformName)\$(ConfigurationName)\examples"
|
|
253
|
-
IntermediateDirectory="..\$(PlatformName)\$(ConfigurationName)\examples\$(ProjectName)"
|
|
254
|
-
ConfigurationType="1"
|
|
255
|
-
CharacterSet="1"
|
|
256
|
-
WholeProgramOptimization="1"
|
|
257
|
-
>
|
|
258
|
-
<Tool
|
|
259
|
-
Name="VCPreBuildEventTool"
|
|
260
|
-
/>
|
|
261
|
-
<Tool
|
|
262
|
-
Name="VCCustomBuildTool"
|
|
263
|
-
/>
|
|
264
|
-
<Tool
|
|
265
|
-
Name="VCXMLDataGeneratorTool"
|
|
266
|
-
/>
|
|
267
|
-
<Tool
|
|
268
|
-
Name="VCWebServiceProxyGeneratorTool"
|
|
269
|
-
/>
|
|
270
|
-
<Tool
|
|
271
|
-
Name="VCMIDLTool"
|
|
272
|
-
TargetEnvironment="3"
|
|
273
|
-
/>
|
|
274
|
-
<Tool
|
|
275
|
-
Name="VCCLCompilerTool"
|
|
276
|
-
AdditionalIncludeDirectories=".;..\libusb"
|
|
277
|
-
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS"
|
|
278
|
-
RuntimeLibrary="2"
|
|
279
|
-
UsePrecompiledHeader="0"
|
|
280
|
-
WarningLevel="3"
|
|
281
|
-
Detect64BitPortabilityProblems="false"
|
|
282
|
-
DebugInformationFormat="3"
|
|
283
|
-
/>
|
|
284
|
-
<Tool
|
|
285
|
-
Name="VCManagedResourceCompilerTool"
|
|
286
|
-
/>
|
|
287
|
-
<Tool
|
|
288
|
-
Name="VCResourceCompilerTool"
|
|
289
|
-
/>
|
|
290
|
-
<Tool
|
|
291
|
-
Name="VCPreLinkEventTool"
|
|
292
|
-
/>
|
|
293
|
-
<Tool
|
|
294
|
-
Name="VCLinkerTool"
|
|
295
|
-
LinkIncremental="1"
|
|
296
|
-
GenerateDebugInformation="true"
|
|
297
|
-
SubSystem="1"
|
|
298
|
-
OptimizeReferences="2"
|
|
299
|
-
EnableCOMDATFolding="2"
|
|
300
|
-
TargetMachine="17"
|
|
301
|
-
/>
|
|
302
|
-
<Tool
|
|
303
|
-
Name="VCALinkTool"
|
|
304
|
-
/>
|
|
305
|
-
<Tool
|
|
306
|
-
Name="VCManifestTool"
|
|
307
|
-
/>
|
|
308
|
-
<Tool
|
|
309
|
-
Name="VCXDCMakeTool"
|
|
310
|
-
/>
|
|
311
|
-
<Tool
|
|
312
|
-
Name="VCBscMakeTool"
|
|
313
|
-
/>
|
|
314
|
-
<Tool
|
|
315
|
-
Name="VCFxCopTool"
|
|
316
|
-
/>
|
|
317
|
-
<Tool
|
|
318
|
-
Name="VCAppVerifierTool"
|
|
319
|
-
/>
|
|
320
|
-
<Tool
|
|
321
|
-
Name="VCWebDeploymentTool"
|
|
322
|
-
/>
|
|
323
|
-
<Tool
|
|
324
|
-
Name="VCPostBuildEventTool"
|
|
325
|
-
/>
|
|
326
|
-
</Configuration>
|
|
327
|
-
</Configurations>
|
|
328
|
-
<References>
|
|
329
|
-
</References>
|
|
330
|
-
<Files>
|
|
331
|
-
<Filter
|
|
332
|
-
Name="Source Files"
|
|
333
|
-
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
|
334
|
-
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
|
335
|
-
>
|
|
336
|
-
<File
|
|
337
|
-
RelativePath="..\examples\xusb.c"
|
|
338
|
-
>
|
|
339
|
-
</File>
|
|
340
|
-
</Filter>
|
|
341
|
-
</Files>
|
|
342
|
-
<Globals>
|
|
343
|
-
</Globals>
|
|
344
|
-
</VisualStudioProject>
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
3
|
-
<ItemGroup Label="ProjectConfigurations">
|
|
4
|
-
<ProjectConfiguration Include="Debug|Win32">
|
|
5
|
-
<Configuration>Debug</Configuration>
|
|
6
|
-
<Platform>Win32</Platform>
|
|
7
|
-
</ProjectConfiguration>
|
|
8
|
-
<ProjectConfiguration Include="Debug|x64">
|
|
9
|
-
<Configuration>Debug</Configuration>
|
|
10
|
-
<Platform>x64</Platform>
|
|
11
|
-
</ProjectConfiguration>
|
|
12
|
-
<ProjectConfiguration Include="Release|Win32">
|
|
13
|
-
<Configuration>Release</Configuration>
|
|
14
|
-
<Platform>Win32</Platform>
|
|
15
|
-
</ProjectConfiguration>
|
|
16
|
-
<ProjectConfiguration Include="Release|x64">
|
|
17
|
-
<Configuration>Release</Configuration>
|
|
18
|
-
<Platform>x64</Platform>
|
|
19
|
-
</ProjectConfiguration>
|
|
20
|
-
</ItemGroup>
|
|
21
|
-
<PropertyGroup Label="Globals">
|
|
22
|
-
<ProjectName>xusb</ProjectName>
|
|
23
|
-
<ProjectGuid>{3F3138D0-7AB7-4268-9BF3-1A3EA5503A11}</ProjectGuid>
|
|
24
|
-
<RootNamespace>examples</RootNamespace>
|
|
25
|
-
<Keyword>Win32Proj</Keyword>
|
|
26
|
-
</PropertyGroup>
|
|
27
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
28
|
-
<PropertyGroup Label="Configuration">
|
|
29
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
30
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
31
|
-
<PlatformToolset>v110</PlatformToolset>
|
|
32
|
-
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
|
|
33
|
-
</PropertyGroup>
|
|
34
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
35
|
-
<ImportGroup Label="ExtensionSettings">
|
|
36
|
-
</ImportGroup>
|
|
37
|
-
<ImportGroup Label="PropertySheets">
|
|
38
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
39
|
-
</ImportGroup>
|
|
40
|
-
<PropertyGroup Label="UserMacros" />
|
|
41
|
-
<PropertyGroup>
|
|
42
|
-
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
43
|
-
<IntDir>$(ProjectDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
44
|
-
<OutDir>$(ProjectDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
45
|
-
</PropertyGroup>
|
|
46
|
-
<ItemDefinitionGroup>
|
|
47
|
-
<ClCompile>
|
|
48
|
-
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
|
49
|
-
<AdditionalIncludeDirectories>..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
50
|
-
<PreprocessorDefinitions>_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
51
|
-
<WarningLevel>Level3</WarningLevel>
|
|
52
|
-
</ClCompile>
|
|
53
|
-
<ClCompile Condition="'$(Configuration)'=='Debug'">
|
|
54
|
-
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
55
|
-
<Optimization>Disabled</Optimization>
|
|
56
|
-
<MinimalRebuild>true</MinimalRebuild>
|
|
57
|
-
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
58
|
-
</ClCompile>
|
|
59
|
-
<ClCompile Condition="'$(Configuration)'=='Release'">
|
|
60
|
-
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
61
|
-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
62
|
-
</ClCompile>
|
|
63
|
-
<Link>
|
|
64
|
-
<ProgramDatabaseFile>$(TargetDir)$(ProjectName).pdb</ProgramDatabaseFile>
|
|
65
|
-
<SubSystem>Console</SubSystem>
|
|
66
|
-
</Link>
|
|
67
|
-
<Link Condition="'$(Configuration)'=='Debug'">
|
|
68
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
69
|
-
</Link>
|
|
70
|
-
</ItemDefinitionGroup>
|
|
71
|
-
<ItemGroup>
|
|
72
|
-
<ClCompile Include="..\examples\xusb.c" />
|
|
73
|
-
</ItemGroup>
|
|
74
|
-
<ItemGroup>
|
|
75
|
-
<ProjectReference Include=".\libusb_static_2012.vcxproj">
|
|
76
|
-
<Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
|
|
77
|
-
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
78
|
-
</ProjectReference>
|
|
79
|
-
</ItemGroup>
|
|
80
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
81
|
-
<ImportGroup Label="ExtensionTargets">
|
|
82
|
-
</ImportGroup>
|
|
83
|
-
</Project>
|
package/libusb/msvc/xusb_sources
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
TARGETNAME=xusb
|
|
2
|
-
TARGETTYPE=PROGRAM
|
|
3
|
-
386_STDCALL=0
|
|
4
|
-
|
|
5
|
-
_NT_TARGET_VERSION=$(_NT_TARGET_VERSION_WINXP)
|
|
6
|
-
|
|
7
|
-
!IFNDEF MSC_WARNING_LEVEL
|
|
8
|
-
MSC_WARNING_LEVEL=/W3
|
|
9
|
-
!ENDIF
|
|
10
|
-
|
|
11
|
-
!IFDEF STATIC_LIBC
|
|
12
|
-
USE_LIBCMT=1
|
|
13
|
-
!ELSE
|
|
14
|
-
USE_MSVCRT=1
|
|
15
|
-
!ENDIF
|
|
16
|
-
|
|
17
|
-
UMTYPE=console
|
|
18
|
-
INCLUDES=..\..\msvc;..\..\libusb;$(DDK_INC_PATH)
|
|
19
|
-
UMLIBS=..\..\libusb\os\obj$(BUILD_ALT_DIR)\*\libusb-1.0.lib
|
|
20
|
-
SOURCES=..\xusb.c
|