You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
426 B
23 lines
426 B
# msi-keyboard.pro
|
|
|
|
# (C) Copyright 2015, Brad Parker
|
|
# All rights reserved.
|
|
|
|
# License: 3-clause BSD. See COPYING
|
|
|
|
QT -= gui
|
|
SOURCES += main.cpp keyboard.cpp
|
|
HEADERS += keyboard.h
|
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
QMAKE_LFLAGS += -Wl,--no-undefined
|
|
|
|
packagesExist(hidapi-libusb) {
|
|
unix:LIBS += -lhidapi-libusb
|
|
} else {
|
|
packagesExist(hidapi) {
|
|
unix:LIBS += -lhidapi
|
|
} else {
|
|
unix:LIBS += -lhidapi-libusb
|
|
}
|
|
}
|
|
|