mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-26 07:10:09 +01:00
Update portmidi to SVN r227.
This commit is contained in:
15
lib-src/portmidi/pm_qt/README_QT.txt
Normal file
15
lib-src/portmidi/pm_qt/README_QT.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
README_QT.txt for PortMidi
|
||||
Richard Starfield
|
||||
20 Sep 2010
|
||||
|
||||
This is a QtCreator build file for PortMidi.
|
||||
|
||||
To build PortMidi on Windows with QtCreator:
|
||||
|
||||
Move portmidi/pm_qt/portmidi.pro to portmidi/portmidi.pro
|
||||
|
||||
Open portmidi.pro in QtCreator, change to the release build option and build all to compile the static library.
|
||||
|
||||
This has been tested in Windows. The project file does include Linux build switches but they haven't been tested yet.
|
||||
|
||||
To compile a DLL instead of a static library change line 11 from "CONFIG += staticlib" to "CONFIG += DLL"
|
||||
47
lib-src/portmidi/pm_qt/portmidi.pro
Normal file
47
lib-src/portmidi/pm_qt/portmidi.pro
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user