jmess.pro 963 Bytes
Newer Older
jcacerec's avatar
jcacerec committed
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
#******************************
# Created by Juan-Pablo Caceres
#******************************

CONFIG += qt thread debug_and_release build_all
CONFIG(debug, debug|release) {
  TARGET = jmess_debug
  } else {
  TARGET = jmess
  }
QT -= gui
QT += xml

!win32 {
  INCLUDEPATH+=/usr/local/include
  LIBS += -ljack -lm
}

macx {
  message(MAC OS X)
  CONFIG -= app_bundle
  CONFIG += x86
  DEFINES += __MAC_OSX__
  }
linux-g++ {
  message(Linux)
  LIBS += -lasound
  QMAKE_CXXFLAGS += -D__LINUX_ALSA__ #-D__LINUX_OSS__ #RtAudio Flags
  QMAKE_CXXFLAGS += -g -O2
  DEFINES += __LINUX__
  }
linux-g++-64 {
  message(Linux 64bit)
  LIBS += -lasound
  QMAKE_CXXFLAGS += -fPIC -D__LINUX_ALSA__ #-D__LINUX_OSS__ #RtAudio Flags
  QMAKE_CXXFLAGS += -g -O2
  DEFINES += __LINUX__
  }

DESTDIR = .
QMAKE_CLEAN += -r ./jmess ./jmess_debug ./release ./debug
target.path = /usr/bin
INSTALLS += target


# Input
47
HEADERS += JMess.h
jcacerec's avatar
jcacerec committed
48
49
50
SOURCES += JMess.cpp \
           jmess_main.cpp