summaryrefslogtreecommitdiff
path: root/msvc/libusb_static_2012.vcxproj
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2018-01-08 10:17:26 -0800
committerChris Dickens <christopher.a.dickens@gmail.com>2018-01-08 10:17:26 -0800
commit54884e84d024e761450287ab56aca8fc69f45d01 (patch)
tree84209847fcee262dd4731e26a910940ca038b582 /msvc/libusb_static_2012.vcxproj
parentd0779e93032affec1dcf04a5bba18f3968aa7922 (diff)
downloadlibusb-54884e84d024e761450287ab56aca8fc69f45d01.tar.gz
Windows: Enable dynamic selection between WinUSB and UsbDk backends
This commit unifies the two Windows backends into a single project and enables the user to switch to the UsbDk backend, if available, using the libusb_set_option() function. All contexts will use the WinUSB backend by default for backwards compatibility. With this change, the UsbDk-specific projects are no longer required. Closes #309 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'msvc/libusb_static_2012.vcxproj')
-rw-r--r--msvc/libusb_static_2012.vcxproj3
1 files changed, 3 insertions, 0 deletions
diff --git a/msvc/libusb_static_2012.vcxproj b/msvc/libusb_static_2012.vcxproj
index 7df832d..3e91df2 100644
--- a/msvc/libusb_static_2012.vcxproj
+++ b/msvc/libusb_static_2012.vcxproj
@@ -141,6 +141,7 @@
<ClCompile Include="..\libusb\sync.c" />
<ClCompile Include="..\libusb\os\threads_windows.c" />
<ClCompile Include="..\libusb\os\windows_nt_common.c" />
+ <ClCompile Include="..\libusb\os\windows_usbdk.c" />
<ClCompile Include="..\libusb\os\windows_winusb.c" />
</ItemGroup>
<ItemGroup>
@@ -154,6 +155,8 @@
<ClInclude Include="..\libusb\version_nano.h" />
<ClInclude Include="..\libusb\os\windows_common.h" />
<ClInclude Include="..\libusb\os\windows_nt_common.h" />
+ <ClInclude Include="..\libusb\os\windows_nt_shared_types.h" />
+ <ClInclude Include="..\libusb\os\windows_usbdk.h" />
<ClInclude Include="..\libusb\os\windows_winusb.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />