qvolray
view qvolray.pro @ 33:437e1ba9cf39
fixed on osx
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 14 Apr 2012 23:31:17 +0300 |
parents | 011ac823600c |
children | e7c006b774ed |
line source
1 TEMPLATE = app
2 TARGET = qvolray
3 DEPENDPATH += . src
4 INCLUDEPATH += . src
5 QT += opengl
6 CONFIG += debug
8 contains(QMAKE_CXX, g++) {
9 QMAKE_CXXFLAGS += -std=c++0x -pedantic
10 }
12 contains(QMAKE_CXX, clang++) {
13 QMAKE_CXXFLAGS += -std=c++0x -pedantic
14 }
16 unix:LIBS += -lGLEW -limago -lvmath
17 win32:LIBS += -lglew32 -llibimago2 -llibvmath -llibpng -lzlib -ljpeglib
19 macx {
20 INCLUDEPATH += /opt/local/include
21 QMAKE_LIBDIR += /opt/local/lib
22 }
24 # the moc needs to run for these headers
25 HEADERS = src/ui.h \
26 src/ui_maingl.h \
27 src/ui_sliceview.h \
28 src/ui_xferview.h
30 SOURCES = src/main.cc \
31 src/sdr.c \
32 src/volray.cc \
33 src/volume.cc \
34 src/ui.cc \
35 src/ui_maingl.cc \
36 src/ui_sliceview.cc \
37 src/ui_xferview.cc \
38 src/demo.cc