kopia lustrzana https://gitlab.com/eliggett/wfview
More mac stuff
rodzic
d1ec010e68
commit
c3ba36ebfd
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 116 KiB |
20
wfview.pro
20
wfview.pro
|
@ -87,7 +87,7 @@ isEmpty(PREFIX) {
|
|||
DEFINES += PREFIX=\\\"$$PREFIX\\\"
|
||||
|
||||
macx:INCLUDEPATH += /usr/local/include /opt/local/include
|
||||
macx:LIBS += -L/usr/local/lib -L/opt/local/lib
|
||||
macx:LIBS += -L/usr/local/lib -L/opt/local/lib -L../qcustomplot
|
||||
|
||||
macx:ICON = ../wfview/resources/wfview.icns
|
||||
win32:RC_ICONS = ../wfview/resources/wfview.ico
|
||||
|
@ -130,11 +130,13 @@ unix:stylesheets.files = qdarkstyle
|
|||
unix:stylesheets.path = $$PREFIX/share/wfview
|
||||
INSTALLS += stylesheets
|
||||
|
||||
macx:LIBS += -framework CoreAudio -framework CoreFoundation -lpthread -lopus
|
||||
|
||||
# Do not do this, it will hang on start:
|
||||
# CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
|
||||
|
||||
CONFIG(debug, release|debug) {
|
||||
!win32: QCPLIB = qcustomplotd
|
||||
linux: QCPLIB = qcustomplotd
|
||||
win32: QCPLIB = qcustomplotd2
|
||||
win32 {
|
||||
contains(QMAKE_TARGET.arch, x86_64) {
|
||||
|
@ -152,7 +154,7 @@ CONFIG(debug, release|debug) {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
!win32: QCPLIB = qcustomplot
|
||||
linux: QCPLIB = qcustomplot
|
||||
win32: QCPLIB = qcustomplot2
|
||||
win32 {
|
||||
contains(QMAKE_TARGET.arch, x86_64) {
|
||||
|
@ -172,21 +174,23 @@ CONFIG(debug, release|debug) {
|
|||
}
|
||||
|
||||
linux:LIBS += -L./ -l$$QCPLIB -lopus
|
||||
!linux:LIBS += -l$$QCPLIB -lopus
|
||||
macx:LIBS += -framework CoreAudio -framework CoreFoundation -lpthread -lopus -lqcustomplot
|
||||
win32:LIBS += -l$$QCPLIB -lopus
|
||||
|
||||
contains(DEFINES,USB_CONTROLLER){
|
||||
linux:LIBS += -L./ -l$$QCPLIB -lhidapi-libusb
|
||||
macx:LIBS += -framework CoreAudio -framework CoreFoundation -lhidapi
|
||||
macx:LIBS += -lhidapi
|
||||
win32:INCLUDEPATH += ../hidapi/hidapi
|
||||
win32:SOURCES += ../hidapi/windows/hid.c
|
||||
}
|
||||
|
||||
macx:SOURCES += ../qcustomplot/qcustomplot.cpp
|
||||
macx:HEADERS += ../qcustomplot/qcustomplot.h
|
||||
|
||||
!linux:INCLUDEPATH += ../qcustomplot
|
||||
!linux:INCLUDEPATH += ../opus/include
|
||||
|
||||
win32:INCLUDEPATH += ../eigen
|
||||
win32:INCLUDEPATH += ../r8brain-free-src
|
||||
!linux:INCLUDEPATH += ../eigen
|
||||
!linux:INCLUDEPATH += ../r8brain-free-src
|
||||
|
||||
INCLUDEPATH += resampler
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue