qvolray
annotate 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 |
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@29 | 27 src/ui_sliceview.h \ |
nuclear@29 | 28 src/ui_xferview.h |
nuclear@27 | 29 |
nuclear@27 | 30 SOURCES = src/main.cc \ |
nuclear@27 | 31 src/sdr.c \ |
nuclear@27 | 32 src/volray.cc \ |
nuclear@27 | 33 src/volume.cc \ |
nuclear@27 | 34 src/ui.cc \ |
nuclear@27 | 35 src/ui_maingl.cc \ |
nuclear@27 | 36 src/ui_sliceview.cc \ |
nuclear@29 | 37 src/ui_xferview.cc \ |
nuclear@27 | 38 src/demo.cc |