usb 1.7.2-prebuild
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/.github/workflows/prebuild.yml +62 -0
- package/.gitmodules +3 -0
- package/LICENSE +7 -0
- package/Readme.md +339 -0
- package/binding.gyp +90 -0
- package/libusb/.gitattributes +11 -0
- package/libusb/.private/README.txt +5 -0
- package/libusb/.private/bd.cmd +89 -0
- package/libusb/.private/bm.sh +54 -0
- package/libusb/.private/bwince.cmd +57 -0
- package/libusb/.private/post-rewrite.sh +28 -0
- package/libusb/.private/pre-commit.sh +42 -0
- package/libusb/.private/wbs.txt +61 -0
- package/libusb/.private/wbs_wince.txt +42 -0
- package/libusb/AUTHORS +78 -0
- package/libusb/COPYING +504 -0
- package/libusb/ChangeLog +211 -0
- package/libusb/INSTALL +234 -0
- package/libusb/INSTALL_WIN.txt +73 -0
- package/libusb/Makefile.am +28 -0
- package/libusb/NEWS +2 -0
- package/libusb/PORTING +94 -0
- package/libusb/README +28 -0
- package/libusb/README.git +41 -0
- package/libusb/TODO +2 -0
- package/libusb/Xcode/common.xcconfig +49 -0
- package/libusb/Xcode/debug.xcconfig +29 -0
- package/libusb/Xcode/libusb.xcconfig +21 -0
- package/libusb/Xcode/libusb.xcodeproj/project.pbxproj +1 -0
- package/libusb/Xcode/libusb_debug.xcconfig +21 -0
- package/libusb/Xcode/libusb_release.xcconfig +21 -0
- package/libusb/Xcode/release.xcconfig +30 -0
- package/libusb/android/README +114 -0
- package/libusb/android/jni/Android.mk +23 -0
- package/libusb/android/jni/Application.mk +24 -0
- package/libusb/android/jni/examples.mk +134 -0
- package/libusb/android/jni/libusb.mk +54 -0
- package/libusb/android/jni/tests.mk +56 -0
- package/libusb/autogen.sh +8 -0
- package/libusb/bootstrap.sh +19 -0
- package/libusb/configure.ac +304 -0
- package/libusb/doc/Makefile.am +9 -0
- package/libusb/doc/doxygen.cfg.in +1288 -0
- package/libusb/doc/libusb.png +0 -0
- package/libusb/examples/Makefile.am +19 -0
- package/libusb/examples/dpfp.c +506 -0
- package/libusb/examples/dpfp_threaded.c +544 -0
- package/libusb/examples/ezusb.c +831 -0
- package/libusb/examples/ezusb.h +120 -0
- package/libusb/examples/fxload.c +287 -0
- package/libusb/examples/getopt/getopt.c +1060 -0
- package/libusb/examples/getopt/getopt.h +180 -0
- package/libusb/examples/getopt/getopt1.c +188 -0
- package/libusb/examples/hotplugtest.c +104 -0
- package/libusb/examples/listdevs.c +71 -0
- package/libusb/examples/sam3u_benchmark.c +193 -0
- package/libusb/examples/xusb.c +1129 -0
- package/libusb/libusb/Makefile.am +75 -0
- package/libusb/libusb/core.c +2342 -0
- package/libusb/libusb/descriptor.c +1199 -0
- package/libusb/libusb/hotplug.c +327 -0
- package/libusb/libusb/hotplug.h +82 -0
- package/libusb/libusb/io.c +2631 -0
- package/libusb/libusb/libusb-1.0.def +166 -0
- package/libusb/libusb/libusb-1.0.rc +61 -0
- package/libusb/libusb/libusb.h +1998 -0
- package/libusb/libusb/libusbi.h +1040 -0
- package/libusb/libusb/os/darwin_usb.c +2009 -0
- package/libusb/libusb/os/darwin_usb.h +162 -0
- package/libusb/libusb/os/linux_netlink.c +369 -0
- package/libusb/libusb/os/linux_udev.c +307 -0
- package/libusb/libusb/os/linux_usbfs.c +2695 -0
- package/libusb/libusb/os/linux_usbfs.h +192 -0
- package/libusb/libusb/os/netbsd_usb.c +738 -0
- package/libusb/libusb/os/openbsd_usb.c +832 -0
- package/libusb/libusb/os/poll_posix.c +51 -0
- package/libusb/libusb/os/poll_posix.h +11 -0
- package/libusb/libusb/os/poll_windows.c +796 -0
- package/libusb/libusb/os/poll_windows.h +131 -0
- package/libusb/libusb/os/threads_posix.c +82 -0
- package/libusb/libusb/os/threads_posix.h +50 -0
- package/libusb/libusb/os/threads_windows.c +212 -0
- package/libusb/libusb/os/threads_windows.h +87 -0
- package/libusb/libusb/os/wince_usb.c +1032 -0
- package/libusb/libusb/os/wince_usb.h +131 -0
- package/libusb/libusb/os/windows_common.h +108 -0
- package/libusb/libusb/os/windows_usb.c +5347 -0
- package/libusb/libusb/os/windows_usb.h +971 -0
- package/libusb/libusb/strerror.c +199 -0
- package/libusb/libusb/sync.c +307 -0
- package/libusb/libusb/version.h +18 -0
- package/libusb/libusb/version_nano.h +1 -0
- package/libusb/libusb-1.0.pc.in +11 -0
- package/libusb/msvc/config.h +50 -0
- package/libusb/msvc/ddk_build.cmd +175 -0
- package/libusb/msvc/errno.h +102 -0
- package/libusb/msvc/fxload_2010.vcxproj +170 -0
- package/libusb/msvc/fxload_2010.vcxproj.filters +25 -0
- package/libusb/msvc/fxload_2012.vcxproj +174 -0
- package/libusb/msvc/fxload_2012.vcxproj.filters +25 -0
- package/libusb/msvc/fxload_2013.vcxproj +174 -0
- package/libusb/msvc/fxload_sources +23 -0
- package/libusb/msvc/getopt_2005.vcproj +288 -0
- package/libusb/msvc/getopt_2010.vcxproj +131 -0
- package/libusb/msvc/getopt_2010.vcxproj.filters +26 -0
- package/libusb/msvc/getopt_2012.vcxproj +136 -0
- package/libusb/msvc/getopt_2012.vcxproj.filters +26 -0
- package/libusb/msvc/getopt_2013.vcxproj +136 -0
- package/libusb/msvc/getopt_sources +20 -0
- package/libusb/msvc/hotplugtest_2010.vcxproj +163 -0
- package/libusb/msvc/hotplugtest_2010.vcxproj.filters +14 -0
- package/libusb/msvc/hotplugtest_2012.vcxproj +167 -0
- package/libusb/msvc/hotplugtest_2012.vcxproj.filters +14 -0
- package/libusb/msvc/hotplugtest_2013.vcxproj +167 -0
- package/libusb/msvc/hotplugtest_sources +20 -0
- package/libusb/msvc/inttypes.h +295 -0
- package/libusb/msvc/libusb.dsw +71 -0
- package/libusb/msvc/libusb_2005.sln +95 -0
- package/libusb/msvc/libusb_2010.sln +94 -0
- package/libusb/msvc/libusb_2012.sln +94 -0
- package/libusb/msvc/libusb_2013.sln +100 -0
- package/libusb/msvc/libusb_2015.sln +100 -0
- package/libusb/msvc/libusb_dll.dsp +194 -0
- package/libusb/msvc/libusb_dll_2005.vcproj +436 -0
- package/libusb/msvc/libusb_dll_2010.vcxproj +170 -0
- package/libusb/msvc/libusb_dll_2010.vcxproj.filters +81 -0
- package/libusb/msvc/libusb_dll_2012.vcxproj +175 -0
- package/libusb/msvc/libusb_dll_2012.vcxproj.filters +84 -0
- package/libusb/msvc/libusb_dll_2013.vcxproj +175 -0
- package/libusb/msvc/libusb_dll_wince.vcproj +1243 -0
- package/libusb/msvc/libusb_sources +38 -0
- package/libusb/msvc/libusb_static.dsp +174 -0
- package/libusb/msvc/libusb_static_2005.vcproj +362 -0
- package/libusb/msvc/libusb_static_2010.vcxproj +156 -0
- package/libusb/msvc/libusb_static_2010.vcxproj.filters +74 -0
- package/libusb/msvc/libusb_static_2012.vcxproj +160 -0
- package/libusb/msvc/libusb_static_2012.vcxproj.filters +74 -0
- package/libusb/msvc/libusb_static_2013.vcxproj +160 -0
- package/libusb/msvc/libusb_static_wince.vcproj +1185 -0
- package/libusb/msvc/libusb_wince.sln +246 -0
- package/libusb/msvc/listdevs.dsp +103 -0
- package/libusb/msvc/listdevs_2005.vcproj +360 -0
- package/libusb/msvc/listdevs_2010.vcxproj +165 -0
- package/libusb/msvc/listdevs_2010.vcxproj.filters +14 -0
- package/libusb/msvc/listdevs_2012.vcxproj +169 -0
- package/libusb/msvc/listdevs_2012.vcxproj.filters +14 -0
- package/libusb/msvc/listdevs_2013.vcxproj +169 -0
- package/libusb/msvc/listdevs_sources +19 -0
- package/libusb/msvc/listdevs_wince.vcproj +1120 -0
- package/libusb/msvc/missing.c +80 -0
- package/libusb/msvc/missing.h +32 -0
- package/libusb/msvc/stdint.h +256 -0
- package/libusb/msvc/stress_2005.vcproj +390 -0
- package/libusb/msvc/stress_2010.vcxproj +167 -0
- package/libusb/msvc/stress_2010.vcxproj.filters +25 -0
- package/libusb/msvc/stress_2012.vcxproj +171 -0
- package/libusb/msvc/stress_2012.vcxproj.filters +25 -0
- package/libusb/msvc/stress_2013.vcxproj +171 -0
- package/libusb/msvc/stress_wince.vcproj +1128 -0
- package/libusb/msvc/xusb.dsp +102 -0
- package/libusb/msvc/xusb_2005.vcproj +344 -0
- package/libusb/msvc/xusb_2010.vcxproj +163 -0
- package/libusb/msvc/xusb_2010.vcxproj.filters +14 -0
- package/libusb/msvc/xusb_2012.vcxproj +167 -0
- package/libusb/msvc/xusb_2012.vcxproj.filters +14 -0
- package/libusb/msvc/xusb_2013.vcxproj +167 -0
- package/libusb/msvc/xusb_sources +20 -0
- package/libusb/msvc/xusb_wince.vcproj +1120 -0
- package/libusb/tests/Makefile.am +6 -0
- package/libusb/tests/libusb_testlib.h +107 -0
- package/libusb/tests/stress.c +160 -0
- package/libusb/tests/testlib.c +281 -0
- package/libusb.gypi +136 -0
- package/libusb_config/config.h +1 -0
- package/package.json +69 -0
- package/src/device.cc +412 -0
- package/src/helpers.h +64 -0
- package/src/node_usb.cc +319 -0
- package/src/node_usb.h +120 -0
- package/src/transfer.cc +148 -0
- package/src/uv_async_queue.h +33 -0
- package/test/usb.coffee +191 -0
- package/usb.js +524 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
@echo off
|
|
2
|
+
::# default builds static library.
|
|
3
|
+
::# you can pass the following arguments (case insensitive):
|
|
4
|
+
::# - "DLL" to build a DLL instead of a static library
|
|
5
|
+
::# - "/MT" to build a static library compatible with MSVC's /MT option (LIBCMT vs MSVCRT)
|
|
6
|
+
|
|
7
|
+
if Test%BUILD_ALT_DIR%==Test goto usage
|
|
8
|
+
|
|
9
|
+
::# process commandline parameters
|
|
10
|
+
set TARGET=LIBRARY
|
|
11
|
+
set STATIC_LIBC=
|
|
12
|
+
set version=1.0
|
|
13
|
+
set PWD=%~dp0
|
|
14
|
+
set BUILD_CMD=build -bcwgZ -M2
|
|
15
|
+
|
|
16
|
+
if "%1" == "" goto no_more_args
|
|
17
|
+
::# /I for case insensitive
|
|
18
|
+
if /I Test%1==TestDLL set TARGET=DYNLINK
|
|
19
|
+
if /I Test%1==Test/MT set STATIC_LIBC=1
|
|
20
|
+
:no_more_args
|
|
21
|
+
|
|
22
|
+
cd ..\libusb\os
|
|
23
|
+
echo TARGETTYPE=%TARGET% > target
|
|
24
|
+
copy target+..\..\msvc\libusb_sources sources >NUL 2>&1
|
|
25
|
+
del target
|
|
26
|
+
@echo on
|
|
27
|
+
%BUILD_CMD%
|
|
28
|
+
@echo off
|
|
29
|
+
if errorlevel 1 goto builderror
|
|
30
|
+
cd ..\..
|
|
31
|
+
|
|
32
|
+
set cpudir=i386
|
|
33
|
+
set destType=Win32
|
|
34
|
+
if %_BUILDARCH%==x86 goto isI386
|
|
35
|
+
set cpudir=amd64
|
|
36
|
+
set destType=x64
|
|
37
|
+
:isI386
|
|
38
|
+
|
|
39
|
+
set srcPath=libusb\os\obj%BUILD_ALT_DIR%\%cpudir%
|
|
40
|
+
|
|
41
|
+
set dstPath=%destType%\Debug
|
|
42
|
+
if %DDKBUILDENV%==chk goto isDebug
|
|
43
|
+
set dstPath=%destType%\Release
|
|
44
|
+
:isDebug
|
|
45
|
+
|
|
46
|
+
if exist %destType% goto md2
|
|
47
|
+
mkdir %destType%
|
|
48
|
+
:md2
|
|
49
|
+
if exist %dstPath% goto md3
|
|
50
|
+
mkdir %dstPath%
|
|
51
|
+
:md3
|
|
52
|
+
if exist %dstPath%\dll goto md4
|
|
53
|
+
mkdir %dstPath%\dll
|
|
54
|
+
:md4
|
|
55
|
+
if exist %dstPath%\lib goto md5
|
|
56
|
+
md %dstPath%\lib
|
|
57
|
+
:md5
|
|
58
|
+
if exist %dstPath%\examples goto md6
|
|
59
|
+
md %dstPath%\examples
|
|
60
|
+
:md6
|
|
61
|
+
@echo on
|
|
62
|
+
|
|
63
|
+
@if /I NOT Test%1==TestDLL goto copylib
|
|
64
|
+
copy %srcPath%\libusb-%version%.dll %dstPath%\dll
|
|
65
|
+
copy %srcPath%\libusb-%version%.pdb %dstPath%\dll
|
|
66
|
+
:copylib
|
|
67
|
+
copy %srcPath%\libusb-%version%.lib %dstPath%\lib
|
|
68
|
+
|
|
69
|
+
@echo off
|
|
70
|
+
|
|
71
|
+
if exist examples\listdevs_ddkbuild goto md7
|
|
72
|
+
md examples\listdevs_ddkbuild
|
|
73
|
+
:md7
|
|
74
|
+
|
|
75
|
+
cd examples\listdevs_ddkbuild
|
|
76
|
+
copy ..\..\msvc\listdevs_sources sources >NUL 2>&1
|
|
77
|
+
@echo on
|
|
78
|
+
%BUILD_CMD%
|
|
79
|
+
@echo off
|
|
80
|
+
if errorlevel 1 goto builderror
|
|
81
|
+
cd ..\..
|
|
82
|
+
|
|
83
|
+
set srcPath=examples\listdevs_ddkbuild\obj%BUILD_ALT_DIR%\%cpudir%
|
|
84
|
+
@echo on
|
|
85
|
+
|
|
86
|
+
copy %srcPath%\listdevs.exe %dstPath%\examples
|
|
87
|
+
copy %srcPath%\listdevs.pdb %dstPath%\examples
|
|
88
|
+
|
|
89
|
+
@echo off
|
|
90
|
+
|
|
91
|
+
if exist examples\xusb_ddkbuild goto md8
|
|
92
|
+
md examples\xusb_ddkbuild
|
|
93
|
+
:md8
|
|
94
|
+
|
|
95
|
+
cd examples\xusb_ddkbuild
|
|
96
|
+
copy ..\..\msvc\xusb_sources sources >NUL 2>&1
|
|
97
|
+
@echo on
|
|
98
|
+
%BUILD_CMD%
|
|
99
|
+
@echo off
|
|
100
|
+
if errorlevel 1 goto builderror
|
|
101
|
+
cd ..\..
|
|
102
|
+
|
|
103
|
+
set srcPath=examples\xusb_ddkbuild\obj%BUILD_ALT_DIR%\%cpudir%
|
|
104
|
+
@echo on
|
|
105
|
+
|
|
106
|
+
copy %srcPath%\xusb.exe %dstPath%\examples
|
|
107
|
+
copy %srcPath%\xusb.pdb %dstPath%\examples
|
|
108
|
+
|
|
109
|
+
@echo off
|
|
110
|
+
|
|
111
|
+
if exist examples\getopt\getopt_ddkbuild goto md9
|
|
112
|
+
md examples\getopt\getopt_ddkbuild
|
|
113
|
+
:md9
|
|
114
|
+
|
|
115
|
+
cd examples\getopt\getopt_ddkbuild
|
|
116
|
+
copy ..\..\..\msvc\getopt_sources sources >NUL 2>&1
|
|
117
|
+
@echo on
|
|
118
|
+
%BUILD_CMD%
|
|
119
|
+
@echo off
|
|
120
|
+
if errorlevel 1 goto builderror
|
|
121
|
+
cd ..\..\..
|
|
122
|
+
|
|
123
|
+
if exist examples\fxload_ddkbuild goto md10
|
|
124
|
+
md examples\fxload_ddkbuild
|
|
125
|
+
:md10
|
|
126
|
+
|
|
127
|
+
cd examples\fxload_ddkbuild
|
|
128
|
+
copy ..\..\msvc\fxload_sources sources >NUL 2>&1
|
|
129
|
+
@echo on
|
|
130
|
+
%BUILD_CMD%
|
|
131
|
+
@echo off
|
|
132
|
+
if errorlevel 1 goto builderror
|
|
133
|
+
cd ..\..
|
|
134
|
+
|
|
135
|
+
set srcPath=examples\fxload_ddkbuild\obj%BUILD_ALT_DIR%\%cpudir%
|
|
136
|
+
@echo on
|
|
137
|
+
|
|
138
|
+
copy %srcPath%\fxload.exe %dstPath%\examples
|
|
139
|
+
copy %srcPath%\fxload.pdb %dstPath%\examples
|
|
140
|
+
|
|
141
|
+
@echo off
|
|
142
|
+
|
|
143
|
+
if exist examples\hotplugtest_ddkbuild goto md11
|
|
144
|
+
md examples\hotplugtest_ddkbuild
|
|
145
|
+
:md11
|
|
146
|
+
|
|
147
|
+
cd examples\hotplugtest_ddkbuild
|
|
148
|
+
copy ..\..\msvc\hotplugtest_sources sources >NUL 2>&1
|
|
149
|
+
@echo on
|
|
150
|
+
%BUILD_CMD%
|
|
151
|
+
@echo off
|
|
152
|
+
if errorlevel 1 goto builderror
|
|
153
|
+
cd ..\..
|
|
154
|
+
|
|
155
|
+
set srcPath=examples\hotplugtest_ddkbuild\obj%BUILD_ALT_DIR%\%cpudir%
|
|
156
|
+
@echo on
|
|
157
|
+
|
|
158
|
+
copy %srcPath%\hotplugtest.exe %dstPath%\examples
|
|
159
|
+
copy %srcPath%\hotplugtest.pdb %dstPath%\examples
|
|
160
|
+
|
|
161
|
+
@echo off
|
|
162
|
+
|
|
163
|
+
cd msvc
|
|
164
|
+
goto done
|
|
165
|
+
|
|
166
|
+
:usage
|
|
167
|
+
echo ddk_build must be run in a WDK build environment
|
|
168
|
+
pause
|
|
169
|
+
goto done
|
|
170
|
+
|
|
171
|
+
:builderror
|
|
172
|
+
echo Build failed
|
|
173
|
+
|
|
174
|
+
:done
|
|
175
|
+
cd %PWD%
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* errno.h
|
|
3
|
+
* This file has no copyright assigned and is placed in the Public Domain.
|
|
4
|
+
* This file is a part of the mingw-runtime package.
|
|
5
|
+
* No warranty is given; refer to the file DISCLAIMER within the package.
|
|
6
|
+
*
|
|
7
|
+
* Error numbers and access to error reporting.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
#ifndef _ERRNO_H_
|
|
12
|
+
#define _ERRNO_H_
|
|
13
|
+
|
|
14
|
+
#include <crtdefs.h>
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
* Error numbers.
|
|
18
|
+
* TODO: Can't be sure of some of these assignments, I guessed from the
|
|
19
|
+
* names given by strerror and the defines in the Cygnus errno.h. A lot
|
|
20
|
+
* of the names from the Cygnus errno.h are not represented, and a few
|
|
21
|
+
* of the descriptions returned by strerror do not obviously match
|
|
22
|
+
* their error naming.
|
|
23
|
+
*/
|
|
24
|
+
#define EPERM 1 /* Operation not permitted */
|
|
25
|
+
#define ENOFILE 2 /* No such file or directory */
|
|
26
|
+
#define ENOENT 2
|
|
27
|
+
#define ESRCH 3 /* No such process */
|
|
28
|
+
#define EINTR 4 /* Interrupted function call */
|
|
29
|
+
#define EIO 5 /* Input/output error */
|
|
30
|
+
#define ENXIO 6 /* No such device or address */
|
|
31
|
+
#define E2BIG 7 /* Arg list too long */
|
|
32
|
+
#define ENOEXEC 8 /* Exec format error */
|
|
33
|
+
#define EBADF 9 /* Bad file descriptor */
|
|
34
|
+
#define ECHILD 10 /* No child processes */
|
|
35
|
+
#define EAGAIN 11 /* Resource temporarily unavailable */
|
|
36
|
+
#define ENOMEM 12 /* Not enough space */
|
|
37
|
+
#define EACCES 13 /* Permission denied */
|
|
38
|
+
#define EFAULT 14 /* Bad address */
|
|
39
|
+
/* 15 - Unknown Error */
|
|
40
|
+
#define EBUSY 16 /* strerror reports "Resource device" */
|
|
41
|
+
#define EEXIST 17 /* File exists */
|
|
42
|
+
#define EXDEV 18 /* Improper link (cross-device link?) */
|
|
43
|
+
#define ENODEV 19 /* No such device */
|
|
44
|
+
#define ENOTDIR 20 /* Not a directory */
|
|
45
|
+
#define EISDIR 21 /* Is a directory */
|
|
46
|
+
#define EINVAL 22 /* Invalid argument */
|
|
47
|
+
#define ENFILE 23 /* Too many open files in system */
|
|
48
|
+
#define EMFILE 24 /* Too many open files */
|
|
49
|
+
#define ENOTTY 25 /* Inappropriate I/O control operation */
|
|
50
|
+
/* 26 - Unknown Error */
|
|
51
|
+
#define EFBIG 27 /* File too large */
|
|
52
|
+
#define ENOSPC 28 /* No space left on device */
|
|
53
|
+
#define ESPIPE 29 /* Invalid seek (seek on a pipe?) */
|
|
54
|
+
#define EROFS 30 /* Read-only file system */
|
|
55
|
+
#define EMLINK 31 /* Too many links */
|
|
56
|
+
#define EPIPE 32 /* Broken pipe */
|
|
57
|
+
#define EDOM 33 /* Domain error (math functions) */
|
|
58
|
+
#define ERANGE 34 /* Result too large (possibly too small) */
|
|
59
|
+
/* 35 - Unknown Error */
|
|
60
|
+
#define EDEADLOCK 36 /* Resource deadlock avoided (non-Cyg) */
|
|
61
|
+
#define EDEADLK 36
|
|
62
|
+
#if 0
|
|
63
|
+
/* 37 - Unknown Error */
|
|
64
|
+
#define ENAMETOOLONG 38 /* Filename too long (91 in Cyg?) */
|
|
65
|
+
#define ENOLCK 39 /* No locks available (46 in Cyg?) */
|
|
66
|
+
#define ENOSYS 40 /* Function not implemented (88 in Cyg?) */
|
|
67
|
+
#define ENOTEMPTY 41 /* Directory not empty (90 in Cyg?) */
|
|
68
|
+
#define EILSEQ 42 /* Illegal byte sequence */
|
|
69
|
+
#endif
|
|
70
|
+
|
|
71
|
+
/*
|
|
72
|
+
* NOTE: ENAMETOOLONG and ENOTEMPTY conflict with definitions in the
|
|
73
|
+
* sockets.h header provided with windows32api-0.1.2.
|
|
74
|
+
* You should go and put an #if 0 ... #endif around the whole block
|
|
75
|
+
* of errors (look at the comment above them).
|
|
76
|
+
*/
|
|
77
|
+
|
|
78
|
+
#ifndef RC_INVOKED
|
|
79
|
+
|
|
80
|
+
#ifdef __cplusplus
|
|
81
|
+
extern "C" {
|
|
82
|
+
#endif
|
|
83
|
+
|
|
84
|
+
/*
|
|
85
|
+
* Definitions of errno. For _doserrno, sys_nerr and * sys_errlist, see
|
|
86
|
+
* stdlib.h.
|
|
87
|
+
*/
|
|
88
|
+
#if defined(_UWIN) || defined(_WIN32_WCE)
|
|
89
|
+
#undef errno
|
|
90
|
+
extern int errno;
|
|
91
|
+
#else
|
|
92
|
+
_CRTIMP int* __cdecl _errno(void);
|
|
93
|
+
#define errno (*_errno())
|
|
94
|
+
#endif
|
|
95
|
+
|
|
96
|
+
#ifdef __cplusplus
|
|
97
|
+
}
|
|
98
|
+
#endif
|
|
99
|
+
|
|
100
|
+
#endif /* Not RC_INVOKED */
|
|
101
|
+
|
|
102
|
+
#endif /* Not _ERRNO_H_ */
|
|
@@ -0,0 +1,170 @@
|
|
|
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>fxload</ProjectName>
|
|
23
|
+
<ProjectGuid>{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}</ProjectGuid>
|
|
24
|
+
<RootNamespace>examples</RootNamespace>
|
|
25
|
+
<Keyword>Win32Proj</Keyword>
|
|
26
|
+
</PropertyGroup>
|
|
27
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
28
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
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">
|
|
43
|
+
<ConfigurationType>Application</ConfigurationType>
|
|
44
|
+
<CharacterSet>Unicode</CharacterSet>
|
|
45
|
+
</PropertyGroup>
|
|
46
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
47
|
+
<ImportGroup Label="ExtensionSettings">
|
|
48
|
+
</ImportGroup>
|
|
49
|
+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
|
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">
|
|
59
|
+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
60
|
+
</ImportGroup>
|
|
61
|
+
<PropertyGroup Label="UserMacros" />
|
|
62
|
+
<PropertyGroup>
|
|
63
|
+
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
64
|
+
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
65
|
+
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
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>
|
|
72
|
+
</PropertyGroup>
|
|
73
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
74
|
+
<BuildLog>
|
|
75
|
+
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
76
|
+
</BuildLog>
|
|
77
|
+
<ClCompile>
|
|
78
|
+
<Optimization>Disabled</Optimization>
|
|
79
|
+
<AdditionalIncludeDirectories>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
80
|
+
<PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
81
|
+
<MinimalRebuild>true</MinimalRebuild>
|
|
82
|
+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
83
|
+
<WarningLevel>Level3</WarningLevel>
|
|
84
|
+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
85
|
+
</ClCompile>
|
|
86
|
+
<Link>
|
|
87
|
+
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
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>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
103
|
+
<PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
104
|
+
<MinimalRebuild>true</MinimalRebuild>
|
|
105
|
+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
106
|
+
<WarningLevel>Level3</WarningLevel>
|
|
107
|
+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
108
|
+
</ClCompile>
|
|
109
|
+
<Link>
|
|
110
|
+
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
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>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
122
|
+
<PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
123
|
+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
124
|
+
<WarningLevel>Level3</WarningLevel>
|
|
125
|
+
</ClCompile>
|
|
126
|
+
<Link>
|
|
127
|
+
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
128
|
+
<SubSystem>Console</SubSystem>
|
|
129
|
+
<TargetMachine>MachineX86</TargetMachine>
|
|
130
|
+
</Link>
|
|
131
|
+
</ItemDefinitionGroup>
|
|
132
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
133
|
+
<BuildLog>
|
|
134
|
+
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
135
|
+
</BuildLog>
|
|
136
|
+
<Midl>
|
|
137
|
+
<TargetEnvironment>X64</TargetEnvironment>
|
|
138
|
+
</Midl>
|
|
139
|
+
<ClCompile>
|
|
140
|
+
<AdditionalIncludeDirectories>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
141
|
+
<PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;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>
|
|
149
|
+
</Link>
|
|
150
|
+
</ItemDefinitionGroup>
|
|
151
|
+
<ItemGroup>
|
|
152
|
+
<ClCompile Include="..\examples\ezusb.c" />
|
|
153
|
+
<ClCompile Include="..\examples\fxload.c" />
|
|
154
|
+
</ItemGroup>
|
|
155
|
+
<ItemGroup>
|
|
156
|
+
<ProjectReference Include=".\libusb_static_2010.vcxproj">
|
|
157
|
+
<Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
|
|
158
|
+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
159
|
+
</ProjectReference>
|
|
160
|
+
<ProjectReference Include="getopt_2010.vcxproj">
|
|
161
|
+
<Project>{ae83e1b4-ce06-47ee-b7a3-c3a1d7c2d71e}</Project>
|
|
162
|
+
</ProjectReference>
|
|
163
|
+
</ItemGroup>
|
|
164
|
+
<ItemGroup>
|
|
165
|
+
<ClInclude Include="..\examples\ezusb.h" />
|
|
166
|
+
</ItemGroup>
|
|
167
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
168
|
+
<ImportGroup Label="ExtensionTargets">
|
|
169
|
+
</ImportGroup>
|
|
170
|
+
</Project>
|
|
@@ -0,0 +1,25 @@
|
|
|
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>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
|
6
|
+
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
|
7
|
+
</Filter>
|
|
8
|
+
<Filter Include="Header Files">
|
|
9
|
+
<UniqueIdentifier>{651ff73d-037b-4903-8dd3-56e9950be25c}</UniqueIdentifier>
|
|
10
|
+
</Filter>
|
|
11
|
+
</ItemGroup>
|
|
12
|
+
<ItemGroup>
|
|
13
|
+
<ClCompile Include="..\examples\fxload.c">
|
|
14
|
+
<Filter>Source Files</Filter>
|
|
15
|
+
</ClCompile>
|
|
16
|
+
<ClCompile Include="..\examples\ezusb.c">
|
|
17
|
+
<Filter>Source Files</Filter>
|
|
18
|
+
</ClCompile>
|
|
19
|
+
</ItemGroup>
|
|
20
|
+
<ItemGroup>
|
|
21
|
+
<ClInclude Include="..\examples\ezusb.h">
|
|
22
|
+
<Filter>Header Files</Filter>
|
|
23
|
+
</ClInclude>
|
|
24
|
+
</ItemGroup>
|
|
25
|
+
</Project>
|
|
@@ -0,0 +1,174 @@
|
|
|
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>fxload</ProjectName>
|
|
23
|
+
<ProjectGuid>{9E166F7A-A793-9FB6-0A67-F0AED8AE8C88}</ProjectGuid>
|
|
24
|
+
<RootNamespace>examples</RootNamespace>
|
|
25
|
+
<Keyword>Win32Proj</Keyword>
|
|
26
|
+
</PropertyGroup>
|
|
27
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
28
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
|
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">
|
|
46
|
+
<ConfigurationType>Application</ConfigurationType>
|
|
47
|
+
<CharacterSet>Unicode</CharacterSet>
|
|
48
|
+
<PlatformToolset>v110</PlatformToolset>
|
|
49
|
+
</PropertyGroup>
|
|
50
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
51
|
+
<ImportGroup Label="ExtensionSettings">
|
|
52
|
+
</ImportGroup>
|
|
53
|
+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
|
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">
|
|
63
|
+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
64
|
+
</ImportGroup>
|
|
65
|
+
<PropertyGroup Label="UserMacros" />
|
|
66
|
+
<PropertyGroup>
|
|
67
|
+
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
|
|
68
|
+
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\</OutDir>
|
|
69
|
+
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)..\$(Platform)\$(Configuration)\examples\$(ProjectName)\</IntDir>
|
|
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>
|
|
76
|
+
</PropertyGroup>
|
|
77
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
|
78
|
+
<BuildLog>
|
|
79
|
+
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
80
|
+
</BuildLog>
|
|
81
|
+
<ClCompile>
|
|
82
|
+
<Optimization>Disabled</Optimization>
|
|
83
|
+
<AdditionalIncludeDirectories>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
84
|
+
<PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
85
|
+
<MinimalRebuild>true</MinimalRebuild>
|
|
86
|
+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
87
|
+
<WarningLevel>Level3</WarningLevel>
|
|
88
|
+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
89
|
+
</ClCompile>
|
|
90
|
+
<Link>
|
|
91
|
+
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
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>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
107
|
+
<PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
108
|
+
<MinimalRebuild>true</MinimalRebuild>
|
|
109
|
+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
110
|
+
<WarningLevel>Level3</WarningLevel>
|
|
111
|
+
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
|
112
|
+
</ClCompile>
|
|
113
|
+
<Link>
|
|
114
|
+
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
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>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
126
|
+
<PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
127
|
+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
128
|
+
<WarningLevel>Level3</WarningLevel>
|
|
129
|
+
</ClCompile>
|
|
130
|
+
<Link>
|
|
131
|
+
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
|
132
|
+
<SubSystem>Console</SubSystem>
|
|
133
|
+
<TargetMachine>MachineX86</TargetMachine>
|
|
134
|
+
</Link>
|
|
135
|
+
</ItemDefinitionGroup>
|
|
136
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
|
137
|
+
<BuildLog>
|
|
138
|
+
<Path>$(IntDir)$(ProjectName).htm</Path>
|
|
139
|
+
</BuildLog>
|
|
140
|
+
<Midl>
|
|
141
|
+
<TargetEnvironment>X64</TargetEnvironment>
|
|
142
|
+
</Midl>
|
|
143
|
+
<ClCompile>
|
|
144
|
+
<AdditionalIncludeDirectories>.;..\examples\getopt;..\libusb;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
|
145
|
+
<PreprocessorDefinitions>WIN32;__GNU_LIBRARY__;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>
|
|
153
|
+
</Link>
|
|
154
|
+
</ItemDefinitionGroup>
|
|
155
|
+
<ItemGroup>
|
|
156
|
+
<ClCompile Include="..\examples\ezusb.c" />
|
|
157
|
+
<ClCompile Include="..\examples\fxload.c" />
|
|
158
|
+
</ItemGroup>
|
|
159
|
+
<ItemGroup>
|
|
160
|
+
<ProjectReference Include=".\libusb_static_2012.vcxproj">
|
|
161
|
+
<Project>{349ee8f9-7d25-4909-aaf5-ff3fade72187}</Project>
|
|
162
|
+
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
163
|
+
</ProjectReference>
|
|
164
|
+
<ProjectReference Include="getopt_2012.vcxproj">
|
|
165
|
+
<Project>{ae83e1b4-ce06-47ee-b7a3-c3a1d7c2d71e}</Project>
|
|
166
|
+
</ProjectReference>
|
|
167
|
+
</ItemGroup>
|
|
168
|
+
<ItemGroup>
|
|
169
|
+
<ClInclude Include="..\examples\ezusb.h" />
|
|
170
|
+
</ItemGroup>
|
|
171
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
172
|
+
<ImportGroup Label="ExtensionTargets">
|
|
173
|
+
</ImportGroup>
|
|
174
|
+
</Project>
|
|
@@ -0,0 +1,25 @@
|
|
|
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>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
|
6
|
+
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
|
7
|
+
</Filter>
|
|
8
|
+
<Filter Include="Header Files">
|
|
9
|
+
<UniqueIdentifier>{651ff73d-037b-4903-8dd3-56e9950be25c}</UniqueIdentifier>
|
|
10
|
+
</Filter>
|
|
11
|
+
</ItemGroup>
|
|
12
|
+
<ItemGroup>
|
|
13
|
+
<ClCompile Include="..\examples\fxload.c">
|
|
14
|
+
<Filter>Source Files</Filter>
|
|
15
|
+
</ClCompile>
|
|
16
|
+
<ClCompile Include="..\examples\ezusb.c">
|
|
17
|
+
<Filter>Source Files</Filter>
|
|
18
|
+
</ClCompile>
|
|
19
|
+
</ItemGroup>
|
|
20
|
+
<ItemGroup>
|
|
21
|
+
<ClInclude Include="..\examples\ezusb.h">
|
|
22
|
+
<Filter>Header Files</Filter>
|
|
23
|
+
</ClInclude>
|
|
24
|
+
</ItemGroup>
|
|
25
|
+
</Project>
|