qvolray

annotate qvolray.pro @ 27:011ac823600c

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