mirror of https://github.com/EspoTek/Labrador.git
Librador demo builds and runs on mac - untested (no hardware ATM)
This commit is contained in:
parent
fd406399c5
commit
2e8fa2f4b8
|
@ -60,3 +60,20 @@ unix:!android:!macx {
|
||||||
DEFINES += \
|
DEFINES += \
|
||||||
PLATFORM_LINUX \
|
PLATFORM_LINUX \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
macx {
|
||||||
|
#libusb include
|
||||||
|
LIBS += -L../../../Desktop_Interface/build_mac/libusb/lib -lusb-1.0 ##I suspect the -L here does nothing!
|
||||||
|
INCLUDEPATH += ../../../Desktop_Interface/build_mac/libusb/include/libusb-1.0
|
||||||
|
DEPENDPATH += ../../../Desktop_Interface/build_mac/libusb/include/libusb-1.0
|
||||||
|
|
||||||
|
#libdfuprog include
|
||||||
|
LIBS += -L../../../Desktop_Interface/build_mac/libdfuprog/lib -ldfuprog-0.9
|
||||||
|
INCLUDEPATH += ../../../Desktop_Interface/build_mac/libdfuprog/include
|
||||||
|
DEPENDPATH += ../../../Desktop_Interface/build_mac/libdfuprog/include
|
||||||
|
|
||||||
|
#linux defines
|
||||||
|
DEFINES += \
|
||||||
|
PLATFORM_MAC \
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
int LIBRADORSHARED_EXPORT librador_init();
|
int LIBRADORSHARED_EXPORT librador_init();
|
||||||
int LIBRADORSHARED_EXPORT librador_exit();
|
int LIBRADORSHARED_EXPORT librador_exit();
|
||||||
int LIBRADORSHARED_EXPORT librador_setup_usb();
|
int LIBRADORSHARED_EXPORT librador_setup_usb();
|
||||||
//int LIBRADORSHARED_EXPORT librador_reset_usb();
|
int LIBRADORSHARED_EXPORT librador_reset_usb();
|
||||||
//Control
|
//Control
|
||||||
//a0
|
//a0
|
||||||
int LIBRADORSHARED_EXPORT librador_avr_debug();
|
int LIBRADORSHARED_EXPORT librador_avr_debug();
|
||||||
|
|
Loading…
Reference in New Issue