Build hidapi as a framework on iOS, so it can be linked by the application as well.

This commit is contained in:
Sam Lantinga
2020-01-30 16:02:56 -08:00
parent 62a3d6c004
commit 1190343f36
3 changed files with 296 additions and 42 deletions

View File

@@ -33,9 +33,13 @@
#define HID_API_EXPORT __declspec(dllexport)
#define HID_API_CALL
#else
#ifndef HID_API_EXPORT
#define HID_API_EXPORT /**< API export macro */
#endif
#ifndef HID_API_CALL
#define HID_API_CALL /**< API call macro */
#endif
#endif
#define HID_API_EXPORT_CALL HID_API_EXPORT HID_API_CALL /**< API export and call macro*/