blob: 5bf08ea8f4c9b3a81b294772d72da89d20ebd8dc (
plain) (
blame)
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
59
60
61
|
#-------------------------------------------------
#
# Project created by QtCreator 2016-04-24T22:04:32
#
#-------------------------------------------------
QT -= core gui
CONFIG += c++11
TARGET = visualization
TEMPLATE = lib
DEFINES += VISUALIZATION_LIBRARY
SOURCES += qmpvisualization.cpp \
extrasmeltutils.cpp \
qmpvirtualpiano3d.cpp
HEADERS += qmpvisualization.hpp \
extrasmeltutils.hpp \
qmpvirtualpiano3d.hpp
unix {
target.path = $$PREFIX/lib/qmidiplayer
DATADIR = $$PREFIX/share
INSTALLS += target res
QMAKE_CXXFLAGS += -pthread -fPIC
QMAKE_CXXFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_RELEASE += -O3
QMAKE_LFLAGS_RELEASE -= -O1
QMAKE_LFLAGS_RELEASE += -O3
res.path = $$DATADIR/qmidiplayer/img
res.files += ../img/chequerboard.png ../img/particle.png ../img/kb_128.png
#well...
SMELTDIR = $$(SMELT_DIR)
isEmpty(SMELTDIR){
INCLUDEPATH += /home/chrisoft/devel/SMELT/include/ /usr/include/freetype2
LIBS += -L/home/chrisoft/devel/SMELT/smelt/glfw/
LIBS += -L/home/chrisoft/devel/SMELT/extensions/
LIBS += -lstdc++ -lfreetype -lz -lsmeltext -lsmelt-dumb -lCxImage -ljpeg -lpng -lglfw -lGLEW -lGL
}else{
INCLUDEPATH += $$SMELTDIR/include/ /usr/include/freetype2
LIBS += -L$$SMELTDIR/smelt/glfw/
LIBS += -L$$SMELTDIR/extensions/
LIBS += -lstdc++ -lfreetype -lz -lsmeltext -lsmelt-dumb -lCxImage -ljpeg -lpng -lglfw -lGLEW -lGL
}
}
win32 {
#Change these before producing your own build!
INCLUDEPATH += "C:\Users\Chris Xiong\Documents\devel\SMELT\include"
INCLUDEPATH += "C:\Users\Chris Xiong\Documents\devel\freetype-2.7\include"
INCLUDEPATH += "C:\Users\Chris Xiong\Documents\devel\zlib-1.2.8"
CONFIG(release, debug|release){
LIBS += -L"C:\Users\Chris Xiong\Documents\devel\SMELT\msvc\libdeps"
LIBS += -lfreetype27MT -lzlib -lsmeltext -lsmelt -ljpeg-static -llibpng16 -lglfw3 -lglew32s -lopengl32 -luser32 -lgdi32 -lshell32
}else{
LIBS += -L"C:\Users\Chris Xiong\Documents\devel\SMELT\msvc\libdepsd"
LIBS += -lfreetype27MTd -lzlib -lsmeltextd -lsmeltd -ljpeg-static -llibpng16 -lglfw3 -lglew32sd -lopengl32 -luser32 -lgdi32 -lshell32
}
}
|