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

Modify the build's handling of the Windows HID libraries. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rpavlik
Copy link

@rpavlik rpavlik commented Apr 25, 2016

(This is build stuff I originally worked on for the OSVR FSM-9 driver, just updated a bit)

Add alternate CMake modules for finding the HID headers/libraries.

Since we can now build with newer than DDK 7600, there is a define that
has taken place of the pure MSVC version check in two headers. Build with
newer Windows SDKs and compilers, and its status as off by default will be
right.

(This also fixes the build of libfreespace with msys2/mingw-w64)

A demonstration: on a fairly fresh machine, with Visual Studio 2013 and 2015 community installed on it (Pretty sure I haven't installed any Windows Driver Kit yet, since I don't have a directory in redist for difx/dpinst, and I don't have the full Windows 10 SDK on it yet), I can configure and build libfreespace for VS2015, and I did no manual configuration, environment variables, or anything special here:
screenshot 317

Add alternate CMake modules for finding the HID headers/libraries.

Since we can now build with newer than DDK 7600, there is a define that
has taken place of the pure MSVC version check in two headers. Build with
newer Windows SDKs and compilers, and its status as off by default will be
right.

(This also fixes the build of libfreespace with msys2/mingw-w64)
@rpavlik
Copy link
Author

rpavlik commented Apr 25, 2016

(Also builds with the latest Windows SDK from here: https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant