1 <?xml version=
"1.0" encoding=
"Windows-1252"?>
2 <VisualStudioPropertySheet
3 ProjectType=
"Visual C++"
8 This property sheet is used to check that LIBUSB_PREBUILT_DIR is set
9 as an environment variable before the project is built. This
10 variable allows you to specify the location of the pre-built libusb headers
11 and libraries without having to edit the project first.
13 If you don't want to use an environment variable for this, then
14 you can use the IDE to remove this property sheet
15 and then set the include and library directories manually.
16 To remove an inherited property sheet in Visual Studio 2005,
17 open the project Properties dialog and look under
18 Congfiguration Properties / General.
21 Name=
"VCPreBuildEventTool"
22 Description=
"Checking for LIBUSB_PREBUILT_DIR macro:"
23 CommandLine=
"if "$(LIBUSB_PREBUILT_DIR)" == "" (
echo *******************************************************************************
echo LIBUSB_PREBUILT_DIR is not set. You must set LIBUSB_PREBUILT_DIR, either as a Visual Studio
echo macro or in the environment, before building this sample.
echo The value of LIBUSB_PREBUILT_DIR should be the path to directory that contains the
echo include and DLL directories.
echo *******************************************************************************
exit 1
) else (
echo LIBUSB_PREBUILT_DIR is $(LIBUSB_PREBUILT_DIR)
)"
26 Name=
"VCCLCompilerTool"
27 AdditionalIncludeDirectories=
"$(LIBUSB_PREBUILT_DIR)\include\libusb-1.0"
31 AdditionalDependencies=
"libusb-1.0.lib"
33 </VisualStudioPropertySheet>