usb 2.0.0-alpha.1 → 2.0.3
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/.gitattributes +1 -0
- package/.gitmodules +1 -1
- package/CHANGELOG.md +91 -0
- package/README.md +570 -0
- package/binding.gyp +2 -2
- package/dist/index.d.ts +16 -5
- package/dist/index.js +135 -5
- package/dist/index.js.map +1 -1
- package/dist/usb/bindings.d.ts +13 -0
- package/dist/usb/bindings.js +2 -1
- package/dist/usb/bindings.js.map +1 -1
- package/dist/usb/index.d.ts +0 -2
- package/dist/usb/index.js +75 -112
- package/dist/usb/index.js.map +1 -1
- package/dist/usb/interface.js.map +1 -1
- package/dist/webusb/index.d.ts +28 -19
- package/dist/webusb/index.js +152 -66
- package/dist/webusb/index.js.map +1 -1
- package/dist/webusb/webusb-device.d.ts +1 -1
- package/dist/webusb/webusb-device.js +15 -6
- package/dist/webusb/webusb-device.js.map +1 -1
- package/libusb/.private/pre-commit.sh +7 -1
- package/libusb/.travis.yml +49 -0
- package/libusb/AUTHORS +44 -3
- package/libusb/Brewfile +4 -0
- package/libusb/ChangeLog +74 -2
- package/libusb/README.md +32 -0
- package/libusb/TODO +1 -1
- package/libusb/Xcode/common.xcconfig +12 -0
- package/libusb/Xcode/config.h +0 -3
- package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +959 -1
- package/libusb/android/README +4 -2
- package/libusb/android/config.h +0 -6
- package/libusb/appveyor.yml +41 -0
- package/libusb/appveyor_cygwin.bat +11 -0
- package/libusb/appveyor_minGW.bat +19 -0
- package/libusb/autogen.sh +1 -1
- package/libusb/bootstrap.sh +3 -16
- package/libusb/configure.ac +108 -80
- package/libusb/doc/doxygen.cfg.in +1785 -739
- package/libusb/examples/Makefile.am +1 -1
- package/libusb/examples/dpfp.c +3 -1
- package/libusb/examples/dpfp_threaded.c +23 -10
- package/libusb/examples/ezusb.c +3 -3
- package/libusb/examples/ezusb.h +2 -2
- package/libusb/examples/fxload.c +31 -9
- package/libusb/examples/hotplugtest.c +35 -7
- package/libusb/examples/listdevs.c +3 -1
- package/libusb/examples/sam3u_benchmark.c +3 -3
- package/libusb/examples/testlibusb.c +277 -0
- package/libusb/examples/xusb.c +40 -34
- package/libusb/libusb/Makefile.am +49 -23
- package/libusb/libusb/core.c +855 -457
- package/libusb/libusb/descriptor.c +72 -78
- package/libusb/libusb/hotplug.c +122 -76
- package/libusb/libusb/hotplug.h +42 -25
- package/libusb/libusb/io.c +625 -390
- package/libusb/libusb/libusb-1.0.def +12 -0
- package/libusb/libusb/libusb.h +218 -150
- package/libusb/libusb/libusbi.h +346 -176
- package/libusb/libusb/os/darwin_usb.c +604 -319
- package/libusb/libusb/os/darwin_usb.h +61 -20
- package/libusb/libusb/os/haiku_pollfs.cpp +367 -0
- package/libusb/libusb/os/haiku_usb.h +113 -0
- package/libusb/libusb/os/haiku_usb_backend.cpp +533 -0
- package/libusb/libusb/os/haiku_usb_raw.cpp +267 -0
- package/libusb/libusb/os/haiku_usb_raw.h +188 -0
- package/libusb/libusb/os/linux_netlink.c +186 -146
- package/libusb/libusb/os/linux_udev.c +36 -14
- package/libusb/libusb/os/linux_usbfs.c +426 -225
- package/libusb/libusb/os/linux_usbfs.h +5 -3
- package/libusb/libusb/os/netbsd_usb.c +21 -77
- package/libusb/libusb/os/openbsd_usb.c +32 -115
- package/libusb/libusb/os/poll_posix.c +38 -5
- package/libusb/libusb/os/poll_posix.h +3 -0
- package/libusb/libusb/os/poll_windows.c +277 -626
- package/libusb/libusb/os/poll_windows.h +11 -44
- package/libusb/libusb/os/sunos_usb.c +1695 -0
- package/libusb/libusb/os/sunos_usb.h +80 -0
- package/libusb/libusb/os/threads_posix.c +24 -26
- package/libusb/libusb/os/threads_posix.h +73 -21
- package/libusb/libusb/os/threads_windows.c +71 -157
- package/libusb/libusb/os/threads_windows.h +68 -44
- package/libusb/libusb/os/wince_usb.c +276 -420
- package/libusb/libusb/os/wince_usb.h +23 -28
- package/libusb/libusb/os/windows_common.h +78 -58
- package/libusb/libusb/os/windows_nt_common.c +1010 -0
- package/libusb/libusb/os/windows_nt_common.h +110 -0
- package/libusb/libusb/os/windows_nt_shared_types.h +147 -0
- package/libusb/libusb/os/windows_usbdk.c +830 -0
- package/libusb/libusb/os/windows_usbdk.h +103 -0
- package/libusb/libusb/os/windows_winusb.c +4391 -0
- package/libusb/libusb/os/windows_winusb.h +783 -0
- package/libusb/libusb/strerror.c +41 -7
- package/libusb/libusb/sync.c +41 -13
- package/libusb/libusb/version.h +1 -1
- package/libusb/libusb/version_nano.h +1 -1
- package/libusb/libusb-1.0.pc.in +1 -1
- package/libusb/msvc/appveyor.bat +27 -0
- package/libusb/msvc/config.h +5 -4
- package/libusb/msvc/ddk_build.cmd +87 -43
- package/libusb/msvc/fxload_2010.vcxproj +24 -104
- package/libusb/msvc/fxload_2012.vcxproj +24 -107
- package/libusb/msvc/fxload_2013.vcxproj +24 -107
- package/libusb/msvc/fxload_2015.vcxproj +91 -0
- package/libusb/msvc/fxload_2017.vcxproj +114 -0
- package/libusb/msvc/fxload_sources +1 -1
- package/libusb/msvc/getopt_2010.vcxproj +16 -75
- package/libusb/msvc/getopt_2012.vcxproj +16 -79
- package/libusb/msvc/getopt_2013.vcxproj +16 -79
- package/libusb/msvc/getopt_2015.vcxproj +73 -0
- package/libusb/msvc/getopt_2017.vcxproj +98 -0
- package/libusb/msvc/getopt_sources +6 -2
- package/libusb/msvc/hotplugtest_2010.vcxproj +18 -99
- package/libusb/msvc/hotplugtest_2012.vcxproj +18 -102
- package/libusb/msvc/hotplugtest_2013.vcxproj +18 -102
- package/libusb/msvc/hotplugtest_2015.vcxproj +83 -0
- package/libusb/msvc/hotplugtest_2017.vcxproj +106 -0
- package/libusb/msvc/hotplugtest_sources +1 -1
- package/libusb/msvc/libusb_2005.sln +20 -20
- package/libusb/msvc/libusb_2010.sln +57 -46
- package/libusb/msvc/libusb_2012.sln +57 -46
- package/libusb/msvc/libusb_2013.sln +57 -50
- package/libusb/msvc/libusb_2015.sln +59 -52
- package/libusb/msvc/libusb_2017.sln +186 -0
- package/libusb/msvc/libusb_dll.dsp +2 -2
- package/libusb/msvc/libusb_dll_2005.vcproj +30 -2
- package/libusb/msvc/libusb_dll_2010.vcxproj +26 -90
- package/libusb/msvc/libusb_dll_2012.vcxproj +28 -96
- package/libusb/msvc/libusb_dll_2013.vcxproj +28 -96
- package/libusb/msvc/libusb_dll_2015.vcxproj +107 -0
- package/libusb/msvc/libusb_dll_2017.vcxproj +134 -0
- package/libusb/msvc/libusb_dll_wince.vcproj +9 -1
- package/libusb/msvc/libusb_sources +10 -5
- package/libusb/msvc/libusb_static.dsp +2 -2
- package/libusb/msvc/libusb_static_2005.vcproj +32 -4
- package/libusb/msvc/libusb_static_2010.vcxproj +24 -83
- package/libusb/msvc/libusb_static_2012.vcxproj +25 -87
- package/libusb/msvc/libusb_static_2013.vcxproj +25 -87
- package/libusb/msvc/libusb_static_2015.vcxproj +98 -0
- package/libusb/msvc/libusb_static_2017.vcxproj +117 -0
- package/libusb/msvc/libusb_static_wince.vcproj +20 -26
- package/libusb/msvc/libusb_wince.sln +88 -88
- package/libusb/msvc/listdevs_2010.vcxproj +16 -99
- package/libusb/msvc/listdevs_2012.vcxproj +16 -102
- package/libusb/msvc/listdevs_2013.vcxproj +16 -102
- package/libusb/msvc/listdevs_2015.vcxproj +83 -0
- package/libusb/msvc/listdevs_2017.vcxproj +106 -0
- package/libusb/msvc/listdevs_sources +2 -1
- package/libusb/msvc/stress_2010.vcxproj +20 -101
- package/libusb/msvc/stress_2012.vcxproj +20 -104
- package/libusb/msvc/stress_2013.vcxproj +20 -104
- package/libusb/msvc/stress_2015.vcxproj +87 -0
- package/libusb/msvc/stress_2017.vcxproj +110 -0
- package/libusb/msvc/stress_sources +21 -0
- package/libusb/msvc/testlibusb_2010.vcxproj +82 -0
- package/libusb/msvc/testlibusb_2012.vcxproj +83 -0
- package/libusb/msvc/testlibusb_2013.vcxproj +83 -0
- package/libusb/msvc/testlibusb_2015.vcxproj +83 -0
- package/libusb/msvc/testlibusb_2017.vcxproj +106 -0
- package/libusb/msvc/testlibusb_sources +20 -0
- package/libusb/msvc/xusb_2010.vcxproj +17 -98
- package/libusb/msvc/xusb_2012.vcxproj +17 -101
- package/libusb/msvc/xusb_2013.vcxproj +17 -101
- package/libusb/msvc/xusb_2015.vcxproj +83 -0
- package/libusb/msvc/xusb_2017.vcxproj +106 -0
- package/libusb/msvc/xusb_sources +1 -1
- package/libusb/tests/stress.c +2 -2
- package/libusb/tests/testlib.c +0 -4
- package/libusb/travis-autogen.sh +39 -0
- package/libusb.gypi +13 -2
- package/package.json +23 -13
- 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 +7 -7
- package/src/node_usb.cc +43 -1
- package/src/node_usb.h +1 -0
- package/src/uv_async_queue.h +33 -25
- package/test/usb.coffee +12 -4
- package/tsc/index.ts +68 -8
- package/tsc/usb/bindings.ts +19 -1
- package/tsc/usb/index.ts +66 -68
- package/tsc/usb/interface.ts +2 -2
- package/tsc/webusb/index.ts +187 -75
- package/tsc/webusb/webusb-device.ts +28 -17
- package/.github/workflows/prebuild.yml +0 -48
- package/Readme.md +0 -339
- package/dist/webusb/typed-event-target.d.ts +0 -11
- package/dist/webusb/typed-event-target.js +0 -21
- package/dist/webusb/typed-event-target.js.map +0 -1
- package/docs/assets/css/main.css +0 -2660
- package/docs/assets/images/icons.png +0 -0
- package/docs/assets/images/icons@2x.png +0 -0
- package/docs/assets/images/widgets.png +0 -0
- package/docs/assets/images/widgets@2x.png +0 -0
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
- package/docs/classes/usb_bindings.device.html +0 -1338
- package/docs/classes/usb_bindings.libusbexception.html +0 -234
- package/docs/classes/usb_bindings.transfer.html +0 -344
- package/docs/classes/usb_capability.capability.html +0 -297
- package/docs/classes/usb_device.extendeddevice.html +0 -766
- package/docs/classes/usb_endpoint.endpoint.html +0 -472
- package/docs/classes/usb_endpoint.inendpoint.html +0 -766
- package/docs/classes/usb_endpoint.outendpoint.html +0 -582
- package/docs/classes/usb_interface.interface.html +0 -648
- package/docs/classes/webusb.webusb-1.html +0 -615
- package/docs/classes/webusb_mutex.mutex.html +0 -270
- package/docs/classes/webusb_typed_event_target.typedeventtarget.html +0 -443
- package/docs/classes/webusb_webusb_device.webusbdevice.html +0 -904
- package/docs/index.html +0 -500
- package/docs/interfaces/usb.deviceevents.html +0 -242
- package/docs/interfaces/usb_descriptors.bosdescriptor.html +0 -293
- package/docs/interfaces/usb_descriptors.capabilitydescriptor.html +0 -274
- package/docs/interfaces/usb_descriptors.configdescriptor.html +0 -388
- package/docs/interfaces/usb_descriptors.devicedescriptor.html +0 -464
- package/docs/interfaces/usb_descriptors.endpointdescriptor.html +0 -370
- package/docs/interfaces/usb_descriptors.interfacedescriptor.html +0 -407
- package/docs/interfaces/webusb.usboptions.html +0 -226
- package/docs/modules/index.html +0 -173
- package/docs/modules/usb.html +0 -173
- package/docs/modules/usb_bindings.html +0 -2319
- package/docs/modules/usb_capability.html +0 -156
- package/docs/modules/usb_descriptors.html +0 -176
- package/docs/modules/usb_device.html +0 -156
- package/docs/modules/usb_endpoint.html +0 -164
- package/docs/modules/usb_interface.html +0 -156
- package/docs/modules/webusb.html +0 -165
- package/docs/modules/webusb_mutex.html +0 -156
- package/docs/modules/webusb_typed_event_target.html +0 -156
- package/docs/modules/webusb_webusb_device.html +0 -156
- package/docs/modules.html +0 -156
- package/libusb/INSTALL +0 -234
- package/libusb/README +0 -28
- package/libusb/libusb/os/windows_usb.c +0 -5347
- package/libusb/libusb/os/windows_usb.h +0 -971
- package/libusb/msvc/fxload_2010.vcxproj.filters +0 -25
- package/libusb/msvc/fxload_2012.vcxproj.filters +0 -25
- package/libusb/msvc/getopt_2010.vcxproj.filters +0 -26
- package/libusb/msvc/getopt_2012.vcxproj.filters +0 -26
- package/libusb/msvc/hotplugtest_2010.vcxproj.filters +0 -14
- package/libusb/msvc/hotplugtest_2012.vcxproj.filters +0 -14
- package/libusb/msvc/libusb_dll_2010.vcxproj.filters +0 -81
- package/libusb/msvc/libusb_dll_2012.vcxproj.filters +0 -84
- package/libusb/msvc/libusb_static_2010.vcxproj.filters +0 -74
- package/libusb/msvc/libusb_static_2012.vcxproj.filters +0 -74
- package/libusb/msvc/listdevs_2010.vcxproj.filters +0 -14
- package/libusb/msvc/listdevs_2012.vcxproj.filters +0 -14
- package/libusb/msvc/stress_2010.vcxproj.filters +0 -25
- package/libusb/msvc/stress_2012.vcxproj.filters +0 -25
- package/libusb/msvc/xusb_2010.vcxproj.filters +0 -14
- package/libusb/msvc/xusb_2012.vcxproj.filters +0 -14
- package/tsc/webusb/typed-event-target.ts +0 -23
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
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>
|
|
12
|
+
<ProjectConfiguration Include="Debug|Win32">
|
|
13
|
+
<Configuration>Debug</Configuration>
|
|
14
|
+
<Platform>Win32</Platform>
|
|
15
|
+
</ProjectConfiguration>
|
|
16
|
+
<ProjectConfiguration Include="Debug|x64">
|
|
17
|
+
<Configuration>Debug</Configuration>
|
|
18
|
+
<Platform>x64</Platform>
|
|
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>
|
|
28
|
+
<ProjectConfiguration Include="Release|Win32">
|
|
29
|
+
<Configuration>Release</Configuration>
|
|
30
|
+
<Platform>Win32</Platform>
|
|
31
|
+
</ProjectConfiguration>
|
|
32
|
+
<ProjectConfiguration Include="Release|x64">
|
|
33
|
+
<Configuration>Release</Configuration>
|
|
34
|
+
<Platform>x64</Platform>
|
|
35
|
+
</ProjectConfiguration>
|
|
36
|
+
</ItemGroup>
|
|
37
|
+
<PropertyGroup Label="Globals">
|
|
38
|
+
<ProjectName>getopt</ProjectName>
|
|
39
|
+
<ProjectGuid>{AE83E1B4-CE06-47EE-B7A3-C3A1D7C2D71E}</ProjectGuid>
|
|
40
|
+
<RootNamespace>getopt</RootNamespace>
|
|
41
|
+
<WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
|
|
42
|
+
<WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
|
|
43
|
+
<WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support>
|
|
44
|
+
</PropertyGroup>
|
|
45
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
46
|
+
<PropertyGroup Label="Configuration">
|
|
47
|
+
<ConfigurationType>StaticLibrary</ConfigurationType>
|
|
48
|
+
<CharacterSet>Unicode</CharacterSet>
|
|
49
|
+
<PlatformToolset>v141</PlatformToolset>
|
|
50
|
+
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
|
|
51
|
+
</PropertyGroup>
|
|
52
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
53
|
+
<ImportGroup Label="ExtensionSettings">
|
|
54
|
+
</ImportGroup>
|
|
55
|
+
<ImportGroup Label="PropertySheets">
|
|
56
|
+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
57
|
+
</ImportGroup>
|
|
58
|
+
<PropertyGroup Label="UserMacros" />
|
|
59
|
+
<PropertyGroup>
|
|
60
|
+
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
61
|
+
<IntDir>$(ProjectDir)..\$(Platform)\$(Configuration)\lib\$(ProjectName)\</IntDir>
|
|
62
|
+
<OutDir>$(ProjectDir)..\$(Platform)\$(Configuration)\lib\</OutDir>
|
|
63
|
+
</PropertyGroup>
|
|
64
|
+
<ItemDefinitionGroup>
|
|
65
|
+
<ClCompile>
|
|
66
|
+
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
|
67
|
+
<AdditionalIncludeDirectories>.;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
68
|
+
<PreprocessorDefinitions>HAVE_STRING_H;_LIB;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
69
|
+
<WarningLevel>Level3</WarningLevel>
|
|
70
|
+
</ClCompile>
|
|
71
|
+
<ClCompile Condition="'$(Configuration)'=='Debug'">
|
|
72
|
+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
73
|
+
<Optimization>Disabled</Optimization>
|
|
74
|
+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
75
|
+
</ClCompile>
|
|
76
|
+
<ClCompile Condition="'$(Configuration)'=='Release'">
|
|
77
|
+
<Optimization>MaxSpeed</Optimization>
|
|
78
|
+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
79
|
+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
80
|
+
</ClCompile>
|
|
81
|
+
<Lib>
|
|
82
|
+
<TargetMachine Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">MachineX86</TargetMachine>
|
|
83
|
+
</Lib>
|
|
84
|
+
<Lib>
|
|
85
|
+
<TargetMachine Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">MachineX86</TargetMachine>
|
|
86
|
+
</Lib>
|
|
87
|
+
</ItemDefinitionGroup>
|
|
88
|
+
<ItemGroup>
|
|
89
|
+
<ClCompile Include="..\examples\getopt\getopt.c" />
|
|
90
|
+
<ClCompile Include="..\examples\getopt\getopt1.c" />
|
|
91
|
+
</ItemGroup>
|
|
92
|
+
<ItemGroup>
|
|
93
|
+
<ClInclude Include="..\examples\getopt\getopt.h" />
|
|
94
|
+
</ItemGroup>
|
|
95
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
96
|
+
<ImportGroup Label="ExtensionTargets">
|
|
97
|
+
</ImportGroup>
|
|
98
|
+
</Project>
|
|
@@ -2,16 +2,20 @@ TARGETTYPE=LIBRARY
|
|
|
2
2
|
TARGETNAME=getopt
|
|
3
3
|
386_STDCALL=0
|
|
4
4
|
|
|
5
|
-
_NT_TARGET_VERSION
|
|
5
|
+
_NT_TARGET_VERSION=$(_NT_TARGET_VERSION_WINXP)
|
|
6
6
|
|
|
7
7
|
!IFNDEF MSC_WARNING_LEVEL
|
|
8
8
|
MSC_WARNING_LEVEL=/W3
|
|
9
9
|
!ENDIF
|
|
10
10
|
|
|
11
|
+
!IFDEF STATIC_LIBC
|
|
12
|
+
USE_LIBCMT=1
|
|
13
|
+
!ELSE
|
|
11
14
|
USE_MSVCRT=1
|
|
15
|
+
!ENDIF
|
|
12
16
|
|
|
13
17
|
INCLUDES=$(DDK_INC_PATH)
|
|
14
|
-
C_DEFINES
|
|
18
|
+
C_DEFINES=$(C_DEFINES) /DDDKBUILD /DHAVE_STRING_H
|
|
15
19
|
|
|
16
20
|
TARGETLIBS=$(SDK_LIB_PATH)\kernel32.lib \
|
|
17
21
|
$(SDK_LIB_PATH)\user32.lib
|
|
@@ -25,127 +25,46 @@
|
|
|
25
25
|
<Keyword>Win32Proj</Keyword>
|
|
26
26
|
</PropertyGroup>
|
|
27
27
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
28
|
-
<PropertyGroup
|
|
29
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
30
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
31
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
32
|
-
</PropertyGroup>
|
|
33
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
34
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
35
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
36
|
-
</PropertyGroup>
|
|
37
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
38
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
39
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
40
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
41
|
-
</PropertyGroup>
|
|
42
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
28
|
+
<PropertyGroup Label="Configuration">
|
|
43
29
|
<ConfigurationType>Application</ConfigurationType>
|
|
44
30
|
<CharacterSet>Unicode</CharacterSet>
|
|
31
|
+
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
|
|
45
32
|
</PropertyGroup>
|
|
46
33
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
47
34
|
<ImportGroup Label="ExtensionSettings">
|
|
48
35
|
</ImportGroup>
|
|
49
|
-
<ImportGroup
|
|
50
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
51
|
-
</ImportGroup>
|
|
52
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
|
53
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
54
|
-
</ImportGroup>
|
|
55
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
56
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
57
|
-
</ImportGroup>
|
|
58
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
|
36
|
+
<ImportGroup Label="PropertySheets">
|
|
59
37
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
60
38
|
</ImportGroup>
|
|
61
39
|
<PropertyGroup Label="UserMacros" />
|
|
62
40
|
<PropertyGroup>
|
|
63
41
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
64
|
-
<
|
|
65
|
-
<
|
|
66
|
-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
67
|
-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
68
|
-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
69
|
-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
70
|
-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
71
|
-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
42
|
+
<IntDir>$(ProjectDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
43
|
+
<OutDir>$(ProjectDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
72
44
|
</PropertyGroup>
|
|
73
|
-
<ItemDefinitionGroup
|
|
74
|
-
<BuildLog>
|
|
75
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
76
|
-
</BuildLog>
|
|
45
|
+
<ItemDefinitionGroup>
|
|
77
46
|
<ClCompile>
|
|
78
|
-
<
|
|
79
|
-
<AdditionalIncludeDirectories
|
|
80
|
-
<PreprocessorDefinitions>
|
|
81
|
-
<MinimalRebuild>true</MinimalRebuild>
|
|
82
|
-
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
47
|
+
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
|
48
|
+
<AdditionalIncludeDirectories>..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
49
|
+
<PreprocessorDefinitions>_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
83
50
|
<WarningLevel>Level3</WarningLevel>
|
|
84
|
-
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
85
51
|
</ClCompile>
|
|
86
|
-
<
|
|
87
|
-
<
|
|
88
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
89
|
-
<SubSystem>Console</SubSystem>
|
|
90
|
-
<TargetMachine>MachineX86</TargetMachine>
|
|
91
|
-
</Link>
|
|
92
|
-
</ItemDefinitionGroup>
|
|
93
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
94
|
-
<BuildLog>
|
|
95
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
96
|
-
</BuildLog>
|
|
97
|
-
<Midl>
|
|
98
|
-
<TargetEnvironment>X64</TargetEnvironment>
|
|
99
|
-
</Midl>
|
|
100
|
-
<ClCompile>
|
|
101
|
-
<Optimization>Disabled</Optimization>
|
|
102
|
-
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
103
|
-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
52
|
+
<ClCompile Condition="'$(Configuration)'=='Debug'">
|
|
53
|
+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
104
54
|
<MinimalRebuild>true</MinimalRebuild>
|
|
55
|
+
<Optimization>Disabled</Optimization>
|
|
105
56
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
106
|
-
<WarningLevel>Level3</WarningLevel>
|
|
107
|
-
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
108
57
|
</ClCompile>
|
|
109
|
-
<
|
|
110
|
-
<
|
|
111
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
112
|
-
<SubSystem>Console</SubSystem>
|
|
113
|
-
<TargetMachine>MachineX64</TargetMachine>
|
|
114
|
-
</Link>
|
|
115
|
-
</ItemDefinitionGroup>
|
|
116
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
117
|
-
<BuildLog>
|
|
118
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
119
|
-
</BuildLog>
|
|
120
|
-
<ClCompile>
|
|
121
|
-
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
122
|
-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
58
|
+
<ClCompile Condition="'$(Configuration)'=='Release'">
|
|
59
|
+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
123
60
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
124
|
-
<WarningLevel>Level3</WarningLevel>
|
|
125
61
|
</ClCompile>
|
|
126
62
|
<Link>
|
|
127
|
-
<
|
|
63
|
+
<ProgramDatabaseFile>$(TargetDir)$(ProjectName).pdb</ProgramDatabaseFile>
|
|
128
64
|
<SubSystem>Console</SubSystem>
|
|
129
|
-
<TargetMachine>MachineX86</TargetMachine>
|
|
130
65
|
</Link>
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
<BuildLog>
|
|
134
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
135
|
-
</BuildLog>
|
|
136
|
-
<Midl>
|
|
137
|
-
<TargetEnvironment>X64</TargetEnvironment>
|
|
138
|
-
</Midl>
|
|
139
|
-
<ClCompile>
|
|
140
|
-
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
141
|
-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
142
|
-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
143
|
-
<WarningLevel>Level3</WarningLevel>
|
|
144
|
-
</ClCompile>
|
|
145
|
-
<Link>
|
|
146
|
-
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
147
|
-
<SubSystem>Console</SubSystem>
|
|
148
|
-
<TargetMachine>MachineX64</TargetMachine>
|
|
66
|
+
<Link Condition="'$(Configuration)'=='Debug'">
|
|
67
|
+
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
149
68
|
</Link>
|
|
150
69
|
</ItemDefinitionGroup>
|
|
151
70
|
<ItemGroup>
|
|
@@ -160,4 +79,4 @@
|
|
|
160
79
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
161
80
|
<ImportGroup Label="ExtensionTargets">
|
|
162
81
|
</ImportGroup>
|
|
163
|
-
</Project>
|
|
82
|
+
</Project>
|
|
@@ -25,131 +25,47 @@
|
|
|
25
25
|
<Keyword>Win32Proj</Keyword>
|
|
26
26
|
</PropertyGroup>
|
|
27
27
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
28
|
-
<PropertyGroup
|
|
29
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
30
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
31
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
32
|
-
<PlatformToolset>v110</PlatformToolset>
|
|
33
|
-
</PropertyGroup>
|
|
34
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
35
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
36
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
37
|
-
<PlatformToolset>v110</PlatformToolset>
|
|
38
|
-
</PropertyGroup>
|
|
39
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
40
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
41
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
42
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
43
|
-
<PlatformToolset>v110</PlatformToolset>
|
|
44
|
-
</PropertyGroup>
|
|
45
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
28
|
+
<PropertyGroup Label="Configuration">
|
|
46
29
|
<ConfigurationType>Application</ConfigurationType>
|
|
47
30
|
<CharacterSet>Unicode</CharacterSet>
|
|
48
31
|
<PlatformToolset>v110</PlatformToolset>
|
|
32
|
+
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
|
|
49
33
|
</PropertyGroup>
|
|
50
34
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
51
35
|
<ImportGroup Label="ExtensionSettings">
|
|
52
36
|
</ImportGroup>
|
|
53
|
-
<ImportGroup
|
|
54
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
55
|
-
</ImportGroup>
|
|
56
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
|
57
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
58
|
-
</ImportGroup>
|
|
59
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
60
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
61
|
-
</ImportGroup>
|
|
62
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
|
37
|
+
<ImportGroup Label="PropertySheets">
|
|
63
38
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
64
39
|
</ImportGroup>
|
|
65
40
|
<PropertyGroup Label="UserMacros" />
|
|
66
41
|
<PropertyGroup>
|
|
67
42
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
68
|
-
<
|
|
69
|
-
<
|
|
70
|
-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
71
|
-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
72
|
-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
73
|
-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
74
|
-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
75
|
-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
43
|
+
<IntDir>$(ProjectDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
44
|
+
<OutDir>$(ProjectDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
76
45
|
</PropertyGroup>
|
|
77
|
-
<ItemDefinitionGroup
|
|
78
|
-
<BuildLog>
|
|
79
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
80
|
-
</BuildLog>
|
|
46
|
+
<ItemDefinitionGroup>
|
|
81
47
|
<ClCompile>
|
|
82
|
-
<
|
|
83
|
-
<AdditionalIncludeDirectories
|
|
84
|
-
<PreprocessorDefinitions>
|
|
85
|
-
<MinimalRebuild>true</MinimalRebuild>
|
|
86
|
-
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
48
|
+
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
|
49
|
+
<AdditionalIncludeDirectories>..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
50
|
+
<PreprocessorDefinitions>_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
87
51
|
<WarningLevel>Level3</WarningLevel>
|
|
88
|
-
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
89
52
|
</ClCompile>
|
|
90
|
-
<
|
|
91
|
-
<
|
|
92
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
93
|
-
<SubSystem>Console</SubSystem>
|
|
94
|
-
<TargetMachine>MachineX86</TargetMachine>
|
|
95
|
-
</Link>
|
|
96
|
-
</ItemDefinitionGroup>
|
|
97
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
98
|
-
<BuildLog>
|
|
99
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
100
|
-
</BuildLog>
|
|
101
|
-
<Midl>
|
|
102
|
-
<TargetEnvironment>X64</TargetEnvironment>
|
|
103
|
-
</Midl>
|
|
104
|
-
<ClCompile>
|
|
105
|
-
<Optimization>Disabled</Optimization>
|
|
106
|
-
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
107
|
-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
53
|
+
<ClCompile Condition="'$(Configuration)'=='Debug'">
|
|
54
|
+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
108
55
|
<MinimalRebuild>true</MinimalRebuild>
|
|
56
|
+
<Optimization>Disabled</Optimization>
|
|
109
57
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
110
|
-
<WarningLevel>Level3</WarningLevel>
|
|
111
|
-
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
112
58
|
</ClCompile>
|
|
113
|
-
<
|
|
114
|
-
<
|
|
115
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
116
|
-
<SubSystem>Console</SubSystem>
|
|
117
|
-
<TargetMachine>MachineX64</TargetMachine>
|
|
118
|
-
</Link>
|
|
119
|
-
</ItemDefinitionGroup>
|
|
120
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
121
|
-
<BuildLog>
|
|
122
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
123
|
-
</BuildLog>
|
|
124
|
-
<ClCompile>
|
|
125
|
-
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
126
|
-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
59
|
+
<ClCompile Condition="'$(Configuration)'=='Release'">
|
|
60
|
+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
127
61
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
128
|
-
<WarningLevel>Level3</WarningLevel>
|
|
129
62
|
</ClCompile>
|
|
130
63
|
<Link>
|
|
131
|
-
<
|
|
64
|
+
<ProgramDatabaseFile>$(TargetDir)$(ProjectName).pdb</ProgramDatabaseFile>
|
|
132
65
|
<SubSystem>Console</SubSystem>
|
|
133
|
-
<TargetMachine>MachineX86</TargetMachine>
|
|
134
66
|
</Link>
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
<BuildLog>
|
|
138
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
139
|
-
</BuildLog>
|
|
140
|
-
<Midl>
|
|
141
|
-
<TargetEnvironment>X64</TargetEnvironment>
|
|
142
|
-
</Midl>
|
|
143
|
-
<ClCompile>
|
|
144
|
-
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
145
|
-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
146
|
-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
147
|
-
<WarningLevel>Level3</WarningLevel>
|
|
148
|
-
</ClCompile>
|
|
149
|
-
<Link>
|
|
150
|
-
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
151
|
-
<SubSystem>Console</SubSystem>
|
|
152
|
-
<TargetMachine>MachineX64</TargetMachine>
|
|
67
|
+
<Link Condition="'$(Configuration)'=='Debug'">
|
|
68
|
+
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
153
69
|
</Link>
|
|
154
70
|
</ItemDefinitionGroup>
|
|
155
71
|
<ItemGroup>
|
|
@@ -164,4 +80,4 @@
|
|
|
164
80
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
165
81
|
<ImportGroup Label="ExtensionTargets">
|
|
166
82
|
</ImportGroup>
|
|
167
|
-
</Project>
|
|
83
|
+
</Project>
|
|
@@ -25,131 +25,47 @@
|
|
|
25
25
|
<Keyword>Win32Proj</Keyword>
|
|
26
26
|
</PropertyGroup>
|
|
27
27
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
28
|
-
<PropertyGroup
|
|
29
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
30
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
31
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
32
|
-
<PlatformToolset>v120</PlatformToolset>
|
|
33
|
-
</PropertyGroup>
|
|
34
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
|
35
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
36
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
37
|
-
<PlatformToolset>v120</PlatformToolset>
|
|
38
|
-
</PropertyGroup>
|
|
39
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
|
40
|
-
<ConfigurationType>Application</ConfigurationType>
|
|
41
|
-
<CharacterSet>Unicode</CharacterSet>
|
|
42
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
43
|
-
<PlatformToolset>v120</PlatformToolset>
|
|
44
|
-
</PropertyGroup>
|
|
45
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
|
28
|
+
<PropertyGroup Label="Configuration">
|
|
46
29
|
<ConfigurationType>Application</ConfigurationType>
|
|
47
30
|
<CharacterSet>Unicode</CharacterSet>
|
|
48
31
|
<PlatformToolset>v120</PlatformToolset>
|
|
32
|
+
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">true</WholeProgramOptimization>
|
|
49
33
|
</PropertyGroup>
|
|
50
34
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
51
35
|
<ImportGroup Label="ExtensionSettings">
|
|
52
36
|
</ImportGroup>
|
|
53
|
-
<ImportGroup
|
|
54
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
55
|
-
</ImportGroup>
|
|
56
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
|
57
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
58
|
-
</ImportGroup>
|
|
59
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
|
60
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
61
|
-
</ImportGroup>
|
|
62
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
|
37
|
+
<ImportGroup Label="PropertySheets">
|
|
63
38
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
64
39
|
</ImportGroup>
|
|
65
40
|
<PropertyGroup Label="UserMacros" />
|
|
66
41
|
<PropertyGroup>
|
|
67
42
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
68
|
-
<
|
|
69
|
-
<
|
|
70
|
-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
71
|
-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
72
|
-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
73
|
-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
74
|
-
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
75
|
-
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
43
|
+
<IntDir>$(ProjectDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
44
|
+
<OutDir>$(ProjectDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
76
45
|
</PropertyGroup>
|
|
77
|
-
<ItemDefinitionGroup
|
|
78
|
-
<BuildLog>
|
|
79
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
80
|
-
</BuildLog>
|
|
46
|
+
<ItemDefinitionGroup>
|
|
81
47
|
<ClCompile>
|
|
82
|
-
<
|
|
83
|
-
<AdditionalIncludeDirectories
|
|
84
|
-
<PreprocessorDefinitions>
|
|
85
|
-
<MinimalRebuild>true</MinimalRebuild>
|
|
86
|
-
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
48
|
+
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
|
|
49
|
+
<AdditionalIncludeDirectories>..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
50
|
+
<PreprocessorDefinitions>_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
87
51
|
<WarningLevel>Level3</WarningLevel>
|
|
88
|
-
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
89
52
|
</ClCompile>
|
|
90
|
-
<
|
|
91
|
-
<
|
|
92
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
93
|
-
<SubSystem>Console</SubSystem>
|
|
94
|
-
<TargetMachine>MachineX86</TargetMachine>
|
|
95
|
-
</Link>
|
|
96
|
-
</ItemDefinitionGroup>
|
|
97
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
98
|
-
<BuildLog>
|
|
99
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
100
|
-
</BuildLog>
|
|
101
|
-
<Midl>
|
|
102
|
-
<TargetEnvironment>X64</TargetEnvironment>
|
|
103
|
-
</Midl>
|
|
104
|
-
<ClCompile>
|
|
105
|
-
<Optimization>Disabled</Optimization>
|
|
106
|
-
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
107
|
-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
53
|
+
<ClCompile Condition="'$(Configuration)'=='Debug'">
|
|
54
|
+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
108
55
|
<MinimalRebuild>true</MinimalRebuild>
|
|
56
|
+
<Optimization>Disabled</Optimization>
|
|
109
57
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
110
|
-
<WarningLevel>Level3</WarningLevel>
|
|
111
|
-
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
112
58
|
</ClCompile>
|
|
113
|
-
<
|
|
114
|
-
<
|
|
115
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
116
|
-
<SubSystem>Console</SubSystem>
|
|
117
|
-
<TargetMachine>MachineX64</TargetMachine>
|
|
118
|
-
</Link>
|
|
119
|
-
</ItemDefinitionGroup>
|
|
120
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
|
121
|
-
<BuildLog>
|
|
122
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
123
|
-
</BuildLog>
|
|
124
|
-
<ClCompile>
|
|
125
|
-
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
126
|
-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
59
|
+
<ClCompile Condition="'$(Configuration)'=='Release'">
|
|
60
|
+
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
127
61
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
128
|
-
<WarningLevel>Level3</WarningLevel>
|
|
129
62
|
</ClCompile>
|
|
130
63
|
<Link>
|
|
131
|
-
<
|
|
64
|
+
<ProgramDatabaseFile>$(TargetDir)$(ProjectName).pdb</ProgramDatabaseFile>
|
|
132
65
|
<SubSystem>Console</SubSystem>
|
|
133
|
-
<TargetMachine>MachineX86</TargetMachine>
|
|
134
66
|
</Link>
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
<BuildLog>
|
|
138
|
-
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
139
|
-
</BuildLog>
|
|
140
|
-
<Midl>
|
|
141
|
-
<TargetEnvironment>X64</TargetEnvironment>
|
|
142
|
-
</Midl>
|
|
143
|
-
<ClCompile>
|
|
144
|
-
<AdditionalIncludeDirectories>.;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
145
|
-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
146
|
-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
147
|
-
<WarningLevel>Level3</WarningLevel>
|
|
148
|
-
</ClCompile>
|
|
149
|
-
<Link>
|
|
150
|
-
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
151
|
-
<SubSystem>Console</SubSystem>
|
|
152
|
-
<TargetMachine>MachineX64</TargetMachine>
|
|
67
|
+
<Link Condition="'$(Configuration)'=='Debug'">
|
|
68
|
+
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
153
69
|
</Link>
|
|
154
70
|
</ItemDefinitionGroup>
|
|
155
71
|
<ItemGroup>
|
|
@@ -164,4 +80,4 @@
|
|
|
164
80
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
165
81
|
<ImportGroup Label="ExtensionTargets">
|
|
166
82
|
</ImportGroup>
|
|
167
|
-
</Project>
|
|
83
|
+
</Project>
|