mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-24 11:11:02 -07:00
22 lines
642 B
Python
22 lines
642 B
Python
from build.protobuf import proto, protocc
|
|
from build.c import cxxlibrary
|
|
|
|
proto(name="proto", srcs=["./usb.proto"], deps=["lib/config+common_proto"])
|
|
protocc(
|
|
name="proto_lib", srcs=[".+proto"], deps=["lib/config+common_proto_lib"]
|
|
)
|
|
|
|
cxxlibrary(
|
|
name="usb",
|
|
srcs=[
|
|
"./applesauceusb.cc",
|
|
"./fluxengineusb.cc",
|
|
"./greaseweazleusb.cc",
|
|
"./serial.cc",
|
|
"./usb.cc",
|
|
"./usbfinder.cc",
|
|
],
|
|
hdrs={"lib/usb/usb.h": "./usb.h", "lib/usb/usbfinder.h": "./usbfinder.h", "lib/usb/serial.h": "./serial.h"},
|
|
deps=["lib/core", "lib/config", "lib/external", "dep/libusbp", "+protocol"],
|
|
)
|