aboutsummaryrefslogtreecommitdiff
path: root/qmidiplayer-desktop/qmidiplayer-desktop.pro
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-09-13 00:52:25 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-09-13 00:52:25 +0800
commit9fecb429a37bcaa577aaa972139f6db3ce17ac50 (patch)
tree046a2a47b6e5aa67ad65121387781a4ea191210c /qmidiplayer-desktop/qmidiplayer-desktop.pro
parentaec5e972e8968255e8843eb22314b96a8f23b041 (diff)
downloadQMidiPlayer-9fecb429a37bcaa577aaa972139f6db3ce17ac50.tar.xz
CMake. It's happening.
Added a new build system based on CMake. Minor code cleanups. This probably breaks building with QMake on multiple platforms. And of course the new CMake support isn't tested thoroughly. But it's finally happening.
Diffstat (limited to 'qmidiplayer-desktop/qmidiplayer-desktop.pro')
-rw-r--r--qmidiplayer-desktop/qmidiplayer-desktop.pro7
1 files changed, 0 insertions, 7 deletions
diff --git a/qmidiplayer-desktop/qmidiplayer-desktop.pro b/qmidiplayer-desktop/qmidiplayer-desktop.pro
index 193c0e5..53fc7c3 100644
--- a/qmidiplayer-desktop/qmidiplayer-desktop.pro
+++ b/qmidiplayer-desktop/qmidiplayer-desktop.pro
@@ -77,12 +77,6 @@ unix{
message(Building in packaging mode...)
DEFINES += QMP_BUILD_UNIX_PACKAGE
}
- exists("/usr/include/RtMidi.h") {
- DEFINES += RT_MIDI_H=\\\"/usr/include/RtMidi.h\\\"
- }
- exists("/usr/include/rtmidi/RtMidi.h") {
- DEFINES += RT_MIDI_H=\\\"/usr/include/rtmidi/RtMidi.h\\\"
- }
QMAKE_CXXFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_RELEASE += -O3
QMAKE_LFLAGS_RELEASE -= -O1
@@ -113,7 +107,6 @@ unix{
LIBS += -lfluidsynth -lrtmidi -ldl
}
win32{
- DEFINES += RT_MIDI_H=\\\"RtMidi.h\\\"
#change these before building...
LIBS += -lfluidsynth -lwinmm -lRtMidi
RC_FILE = qmidiplayer.rc