summaryrefslogtreecommitdiff
path: root/kaiman.pro
blob: 51f6c108a788ed707f3eec4d2f9162a3833dbdee (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
52
53
54
55
56
57
# -*- Makefile -*-

CONFIG += debug

TEMPLATE = app
TARGET = kaiman
DEPENDPATH += .
INCLUDEPATH += .
#RESOURCES += kaiman.qrc
QT += core gui 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 {
	CONFIG += link_pkgconfig
	packagesExist(lua) {
		PKGCONFIG += lua
	}
	packagesExist(lua5.1) {
		PKGCONFIG += lua5.1
	}
	LIBS += -lao -lsndfile
}

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