-
Notifications
You must be signed in to change notification settings - Fork 0
/
portmidi.pro
47 lines (38 loc) · 1018 Bytes
/
portmidi.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#-------------------------------------------------
#
# Project created by QtCreator 2010-09-02T12:50:47
#
#-------------------------------------------------
QT -= core gui
TARGET = portmidi
TEMPLATE = lib
CONFIG += staticlib # replace this with DLL for dynamic link on Windows
INCLUDEPATH = pm_common/ porttime/
win32 {
INCLUDEPATH += pm_win/
LIBS += -lwinmm
SOURCES += pm_win/pmwinmm.c \
pm_win/pmwin.c
HEADERS += pm_win/pmwinmm.h
}
# this build hasn't been tested on Linux yet
unix {
DEFINES += PMALSA
INCLUDEPATH += pm_linux/
LIBS += -lasound
SOURCES += pm_linux/finddefault.c \
pm_linux/pmlinux.c \
pm_linux/pmlinuxalsa.c
HEADERS += pm_linux/pmlinux.h pm_linux/pmlinuxalsa.h
}
DEFINES -= UNICODE
SOURCES += \
pm_common/portmidi.c \
pm_common/pmutil.c \
porttime/porttime.c \
porttime/ptwinmm.c
HEADERS += \
pm_common/pmutil.h \
pm_common/pminternal.h \
pm_common/portmidi.h \
porttime/porttime.h