forked from signal11/hidapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add hid_version/hid_version_str API (signal11#192)
- API functions to get runtime version of the library; - macros to get static/compile-time version of the library; - VERSION file;
- Loading branch information
Showing
10 changed files
with
134 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
This file is mostly for the maintainer. | ||
|
||
1. Build hidapi.dll | ||
2. Build hidtest.exe in DEBUG and RELEASE | ||
3. Commit all | ||
|
||
4. Run the Following | ||
export VERSION=0.1.0 | ||
export TAG_NAME=hidapi-$VERSION | ||
git tag $TAG_NAME | ||
git archive --format zip --prefix $TAG_NAME/ $TAG_NAME >../$TAG_NAME.zip | ||
5. Test the zip file. | ||
6. Run the following: | ||
git push origin $TAG_NAME | ||
Updating a Version: | ||
1. Update VERSION file. | ||
2. HID_API_VERSION_MAJOR/HID_API_VERSION_MINOR/HID_API_VERSION_PATCH in hidapi.h. | ||
|
||
Firing a new release: | ||
1. Update the Version (if not yet updated). | ||
2. Build hidapi.dll/.lib for x86/x64. | ||
3. Upload Windows binaries to Github release page. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.9.0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
AC_PREREQ(2.63) | ||
|
||
# Version number. This is currently the only place. | ||
m4_define([HIDAPI_MAJOR], 0) | ||
m4_define([HIDAPI_MINOR], 9) | ||
m4_define([HIDAPI_RELEASE], 0) | ||
m4_define([HIDAPI_RC], ) | ||
m4_define([VERSION_STRING], HIDAPI_MAJOR[.]HIDAPI_MINOR[.]HIDAPI_RELEASE[]HIDAPI_RC) | ||
|
||
AC_INIT([hidapi],[VERSION_STRING],[[email protected]]) | ||
AC_INIT([hidapi],[m4_normalize(m4_builtin([include], VERSION))],[https://github.com/libusb/hidapi/issues]) | ||
|
||
# Library soname version | ||
# Follow the following rules (particularly the ones in the second link): | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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