Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Support Libusb1 on windows #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on May 11, 2016

  1. ENH: Improve FindLibUsb1 and make default on WIN32 too

    1) Improve Findlibusb-1.0 :
    - search for libusb.h path not libusb-1.0/libusb.h (PATH_SUFFIXES helps).
    - search for usb-1.0 and libusb-1.0 as library names, the later being
    used on windows.
    - use find_package_handle_standard_args to ensure variables are found.
    This results in a change of the camke variables to LIBUSB1_* instead
    of LIBUSB_1_*.
    
    2) Make Libusb1-0 default on Windows instead of LIBFTD2XX. LibUsb1 can
    be easily downloaded from sourceforge and wraps the include file, libs
    for different platforms and generators, static and shared :
    https://sourceforge.net/projects/libusb/files/libusb-1.0/
    
    For ease of use it would possible to download, archive, and install
    files from libusb-1.0 easily using CMake ExternalProject_Add() macro.
    Alexis Girault committed May 11, 2016
    Configuration menu
    Copy the full SHA
    fa644d3 View commit details
    Browse the repository at this point in the history
  2. STYLE: Clean some comments, spaces, tabs

    Alexis Girault committed May 11, 2016
    Configuration menu
    Copy the full SHA
    9a5a0c3 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2016

  1. Improve Findlibftd2xx

    Alexis Girault committed Sep 21, 2016
    Configuration menu
    Copy the full SHA
    47586d4 View commit details
    Browse the repository at this point in the history