27 sources += ['discovery_usb.c', 'transport_usb.c']
30 version_h = configure_file(
31 input: 'version.h.in',
34 'JAYLINK_VERSION_PACKAGE_MAJOR': package_version['major'],
35 'JAYLINK_VERSION_PACKAGE_MINOR': package_version['minor'],
36 'JAYLINK_VERSION_PACKAGE_MICRO': package_version['micro'],
37 'JAYLINK_VERSION_PACKAGE': package_version_string,
38 'JAYLINK_VERSION_LIBRARY_CURRENT': library_version['current'],
39 'JAYLINK_VERSION_LIBRARY_REVISION': library_version['revision'],
40 'JAYLINK_VERSION_LIBRARY_AGE': library_version['age'],
41 'JAYLINK_VERSION_LIBRARY': library_version_string,
52 jaylink = shared_library(
55 dependencies: [libusb],
56 version: library_version_string,
57 include_directories: include_dirs,
61 pkg = import('pkgconfig')
65 name: meson.project_name(),
67 description: project_description,
68 requires_private: [libusb],