vcglib/apps/sample/trimesh_QT_shared/trimesh_qt.pro

52 lines
866 B
Prolog
Raw Normal View History

# Base options
TEMPLATE = app
LANGUAGE = C++
# QT modules
QT += opengl
# Executable name
TARGET = trimesh_qt
# Directories
DESTDIR = .
UI_DIR = build/ui
MOC_DIR = build/moc
OBJECTS_DIR = build/obj
# Lib headers
INCLUDEPATH += .
INCLUDEPATH += ../../..
# Lib sources
SOURCES += ../../../wrap/ply/plylib.cpp
SOURCES += ../../../wrap/gui/trackball.cpp
SOURCES += ../../../wrap/gui/trackmode.cpp
# Compile glew
DEFINES += GLEW_STATIC
INCLUDEPATH += ../../../../lib/glew/include
SOURCES += ../../../../lib/glew/src/glew.c
# Awful problem with windows..
win32{
DEFINES += NOMINMAX
}
# Input
HEADERS += mainwindow.h
HEADERS += glarea.h
SOURCES += main.cpp
SOURCES += mainwindow.cpp
SOURCES += glarea.cpp
FORMS += mainwindow.ui
linux-g++:LIBS += -lGLU
linux-g++-32:LIBS += -lGLU
linux-g++-64:LIBS += -lGLU