summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-11-18 12:51:02 +0000
committerPete Batard <pbatard@gmail.com>2010-11-18 12:51:02 +0000
commit15f6f713e24003f05e445cc95f041d34570260d3 (patch)
treea5064e964cdfcf796df71e1bce2fc0c13e3ee8f5
parent11c6f4d4ce75092ef21fd6a961e7dd75d38629ee (diff)
downloadlibusb-15f6f713e24003f05e445cc95f041d34570260d3.tar.gz
[INTERNAL - NOT FOR RELEASE] removed stdint.h dependency
-rw-r--r--_README.txt14
-rw-r--r--_bd.cmd3
2 files changed, 6 insertions, 11 deletions
diff --git a/_README.txt b/_README.txt
index 4a2f614..fd9d809 100644
--- a/_README.txt
+++ b/_README.txt
@@ -7,11 +7,9 @@
o Visual Studio:
- Open existing or create a new project for your application
- - Copy the libusb.h and (if not using Visual Studio 2010) stdint.h into your
- project and make sure that the location where the file(s) reside appears in
- the 'Additional Include Directories' section (Configuration Properties ->
- C/C++ -> General).
- The stdint.h file is located in the additional_includes\ directory.
+ - Copy the libusb.h into your project and make sure that the location where
+ the file reside appears in the 'Additional Include Directories' section
+ (Configuration Properties -> C/C++ -> General).
- Copy the relevant .lib file from MS32\ or MS64\ and add 'libusb-1.0.lib' to
your 'Additional Dependencies' (Configuration Properties -> Linker -> Input)
Also make sure that the directory where libusb-1.0.lib resides is added to
@@ -29,8 +27,8 @@ o Visual Studio:
o WDK/DDK:
- The following is an example of a sources files that you can use to compile
a libusb 1.0 based console application. In this sample ..\libusb\ is the
- directory where you would have copied libusb.h, stdint.h as well as the
- relevant libusb-1.0.lib
+ directory where you would have copied libusb.h as well as the relevant
+ libusb-1.0.lib
TARGETNAME=your_app
TARGETTYPE=PROGRAM
@@ -39,8 +37,6 @@ o WDK/DDK:
INCLUDES=..\libusb;$(DDK_INC_PATH)
TARGETLIBS=..\libusb\libusb-1.0.lib
SOURCES=your_app.c
-
- The stdint.h file is located in the additional_includes\ directory.
- Note that if you plan to use libCMT instead of MSVCRT (USE_LIBCMT=1 instead
of USE_MSVCRT=1), you will need to recompile libusb to use libCMT. This can
diff --git a/_bd.cmd b/_bd.cmd
index 04d36e1..435dc76 100644
--- a/_bd.cmd
+++ b/_bd.cmd
@@ -9,12 +9,11 @@ for %%A in (MS32 MS64) do mkdir E:\dailies\%DATE%\%%A
for %%A in (MS32 MS64) do mkdir E:\dailies\%DATE%\%%A\static
for %%A in (MS32 MS64) do mkdir E:\dailies\%DATE%\%%A\dll
for %%A in (source bin32 bin64) do mkdir E:\dailies\%DATE%\examples\%%A
-mkdir E:\dailies\%DATE%\additional_includes
copy libusb\libusb.h E:\dailies\%DATE%\
-copy msvc\stdint.h E:\dailies\%DATE%\additional_includes
copy libusb\libusb-1.0.def E:\dailies\%DATE%\
copy examples\lsusb.c E:\dailies\%DATE%\examples\source
copy examples\xusb.c E:\dailies\%DATE%\examples\source
+copy msvc\stdint.h E:\dailies\%DATE%\examples\source
copy _README.txt E:\dailies\%DATE%\README.txt
set ORG_BUILD_ALT_DIR=%BUILD_ALT_DIR%