8 Commits

Author SHA1 Message Date
Ihor Dutchak
76462bd767 Avoid CMake backward compatibility warning (#663)
Avoid a message:
```
Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
```

Fixes: #642
2024-03-05 13:26:01 +02:00
Moritz 'Morty' Strübe
02c0f78d05 Doc: Fix target documentation (#640) 2023-11-17 13:45:47 +02:00
luzpaz
849c8a9099 Fix various typo (#597)
Found via `codespell -q 3 -L childs,fo,xwindows`
Encountered in downstream https://github.com/libsdl-org/SDL
2023-07-03 17:18:54 +03:00
Ihor Dutchak
7eedb61eee doc: Shared+Static build for CMake (#517)
* doc: Shared+Static build for CMake

Document the recommended way to build both Shared and Static libraries of HIDAPI using CMake.

Closes: #424
2023-03-13 12:42:33 +02:00
Ihor Dutchak
26b5bb0ccf RFC: add hid_get_report_descriptor API function (#451)
- native implementations for hidraw/libusb/macOS;
- HID Report Descriptor reconstruction from HIDP_PREPARSED_DATA on Windows;
- unit-tests for some known devices for `hid_winapi_descriptor_reconstruct_pp_data`;
- support for ASAN builds (mainly to check the `hid_winapi_descriptor_reconstruct_pp_data`/its unit-tests;
2023-03-12 14:45:30 +02:00
Ihor Dutchak
b66d7c2c88 Explicit remark about BUILD_SHARED_LIBS (#349)
- a remark about using BUILD_SHARED_LIBS as a CACHE variable and CMP0077.
2021-11-12 01:17:06 +02:00
Ihor Dutchak
3ebfaa8521 More details for CMake documentation 2021-07-03 21:09:26 +03:00
Ihor Dutchak
b7053119ed Documentation refactoring and update
- separate readme for HIDAPI build;
- separate readme for HIDAPI build with Autotools;
- add (separate) readme for HIDAPI build with CMake;
2021-07-03 20:38:58 +03:00