summaryrefslogtreecommitdiff
path: root/kaiman.pro
blob: e76874ed81ae2e510a3fe26aadbba573a26f537f (plain)
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
48
49
50
51
# -*- Makefile -*-

CONFIG += debug

TEMPLATE = app
TARGET = kaiman
DEPENDPATH += .
INCLUDEPATH += .
#RESOURCES += kaiman.qrc
QT += core gui svg opengl

# For debugging
debug {
	QMAKE_CXXFLAGS += -g -Wall -Werror
	CONFIG += debug
	DEFINES+=USE_DEBUG
}

DEFINES+=VERSION=\\\"0.0.1\\\"

win32 {
	LIBPATH += lua/lib
	INCLUDEPATH += lua/include
	LIBS += -llua51
	DEFINES += HOST_WIN32
#	debug {
		CONFIG += console
#	}
}

unix {
	LIBS += -llua -lao -lsndfile
	INCLUDEPATH += lua51
}

HEADERS += \
	src/mainwindow.h \
	src/outputwindow.h \
	src/luascript.h \
	src/codeeditor.h \
	src/soundplayer.h

SOURCES += \
	src/kaiman.cc \
	src/mainwindow.cc \
	src/outputwindow.cc \
	src/luascript.cc \
	src/codeeditor.cc \
	src/soundplayer.cc

#TRANSLATIONS = pracro_dk.ts