summaryrefslogtreecommitdiff
path: root/kaiman.pro
blob: 1ae8abf5f7b5a6b760a7cf36430066030eeb3b2c (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
58
# -*- Makefile -*-

CONFIG += debug

TEMPLATE = app
TARGET = kaiman
DEPENDPATH += .
INCLUDEPATH += .
#RESOURCES += kaiman.qrc
QT += core gui opengl
QMAKE_CXXFLAGS += -std=c++11

# 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 -lsamplerate
}

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