diff options
author | Pete Batard <pbatard@gmail.com> | 2010-11-13 21:17:14 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-11-13 21:17:14 +0000 |
commit | df5f5b9bad0f8e363ec5a58992ba88cbef744bfc (patch) | |
tree | 44f338c829555a46e06cd24ae489fffabeefaf71 | |
parent | 0cb2ee1f292afbdf4747d6a5d7e3e428a39012a1 (diff) | |
download | libusb-df5f5b9bad0f8e363ec5a58992ba88cbef744bfc.tar.gz |
[INTERNAL - NOT FOR RELEASE] stdint.h -> additional_includes
-rw-r--r-- | _README.txt | 10 | ||||
-rw-r--r-- | _bd.cmd | 3 |
2 files changed, 9 insertions, 4 deletions
diff --git a/_README.txt b/_README.txt index 2420227..4a2f614 100644 --- a/_README.txt +++ b/_README.txt @@ -7,9 +7,11 @@ o Visual Studio: - Open existing or create a new project for your application - - Copy the libusb.h and stdint.h files into your project and make sure that - the location where these files reside appears in the 'Additional Include - Directories' section (Configuration Properties -> C/C++ -> General) + - 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 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 @@ -37,6 +39,8 @@ 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 @@ -9,8 +9,9 @@ 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%\ +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 |