2009-02-06 13:37:46 +00:00
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
|
# INCLUDE Packages
|
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
defineTest( glew ) {
|
2009-02-09 12:54:45 +00:00
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
|
## Enter here the correct path to GLEW
|
|
|
|
|
#######################################
|
|
|
|
|
|
|
|
|
|
GLEW_PATH = c:\glew
|
|
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
|
|
|
|
|
|
!exists ( $${GLEW_PATH} ) {
|
2009-02-09 12:30:08 +00:00
|
|
|
error (ERROR: GLEW not found or wrong path entry in OpenMesh\qmake\packages\packages.Windows!)
|
|
|
|
|
}
|
2009-02-09 12:54:45 +00:00
|
|
|
INCLUDEPATH *= $${GLEW_PATH}\include
|
2009-02-06 13:37:46 +00:00
|
|
|
export(INCLUDEPATH)
|
2009-02-09 12:54:45 +00:00
|
|
|
LIBS *= -L$${GLEW_PATH}\lib -lglew32
|
2009-02-06 13:37:46 +00:00
|
|
|
export(LIBS)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
defineTest( qt ) {
|
2009-02-09 10:47:42 +00:00
|
|
|
CONFIG *= uitools
|
|
|
|
|
export(CONFIG)
|
|
|
|
|
QT += opengl network script sql
|
|
|
|
|
export(QT)
|
2009-02-06 13:37:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
defineTest( glut ) {
|
2009-02-09 12:54:45 +00:00
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
|
## Enter here the correct path to GLUT
|
|
|
|
|
#######################################
|
|
|
|
|
|
|
|
|
|
GLUT_PATH = c:\glut
|
|
|
|
|
|
|
|
|
|
########################################
|
|
|
|
|
|
|
|
|
|
!exists ( $${GLUT_PATH} ) {
|
2009-02-09 12:30:08 +00:00
|
|
|
error (ERROR: GLUT not found or wrong path entry in OpenMesh\qmake\packages\packages.Windows!)
|
|
|
|
|
}
|
2009-02-09 12:54:45 +00:00
|
|
|
INCLUDEPATH *= $${GLUT_PATH}\include
|
2009-02-06 13:37:46 +00:00
|
|
|
export(INCLUDEPATH)
|
2009-02-09 12:54:45 +00:00
|
|
|
LIBS *= -L$${GLUT_PATH}\lib -lglut32
|
2009-02-06 13:37:46 +00:00
|
|
|
export(LIBS)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
defineTest( openmp ) {
|
|
|
|
|
QMAKE_CXXFLAGS_DEBUG += /openmp
|
|
|
|
|
QMAKE_CXXFLAGS_RELEASE += /openmp
|
|
|
|
|
export(QMAKE_CXXFLAGS_DEBUG)
|
|
|
|
|
export(QMAKE_CXXFLAGS_RELEASE)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
defineTest( openmesh ) {
|
|
|
|
|
DEFINES += _USE_MATH_DEFINES NOMINMAX
|
|
|
|
|
QMAKE_LIBDIR += $${TOPDIR}/OpenMesh/Core/lib/$${BUILDDIRECTORY}
|
|
|
|
|
LIBS+= -L$${TOPDIR}/OpenMesh/Core/lib/$${BUILDDIRECTORY} -lCore
|
|
|
|
|
LIBS+= -L$${TOPDIR}/OpenMesh/Tools/lib/$${BUILDDIRECTORY} -lTools
|
|
|
|
|
export(DEFINES)
|
|
|
|
|
export(QMAKE_LIBDIR)
|
|
|
|
|
export(LIBS)
|
|
|
|
|
}
|
|
|
|
|
|