Modify the build's handling of the Windows HID libraries.#1
Open
rpavlik wants to merge 1 commit intohcrest:masterfrom
Open
Modify the build's handling of the Windows HID libraries.#1rpavlik wants to merge 1 commit intohcrest:masterfrom
rpavlik wants to merge 1 commit intohcrest:masterfrom
Conversation
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)
Author
|
(Also builds with the latest Windows SDK from here: https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(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:
