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
|
|
|
|
|
#######################################
|
|
|
|
|
|
2009-06-04 09:36:22 +00:00
|
|
|
GLEW_PATH = c:\libs\glew
|
2009-02-09 12:54:45 +00:00
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
|
|
|
|
|
|
!exists ( $${GLEW_PATH} ) {
|
2009-06-04 09:36:22 +00:00
|
|
|
error (ERROR: GLEW not found or wrong path entry in OpenMesh\qmake\packages\packages.Windows! Please adjust it to your path!)
|
2009-02-09 12:30:08 +00:00
|
|
|
}
|
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
|
|
|
|
|
#######################################
|
|
|
|
|
|
2009-06-04 10:05:41 +00:00
|
|
|
GLUT_PATH = c:\libs\glut-3.7
|
2009-02-09 12:54:45 +00:00
|
|
|
|
|
|
|
|
########################################
|
|
|
|
|
|
|
|
|
|
!exists ( $${GLUT_PATH} ) {
|
2009-06-04 09:36:22 +00:00
|
|
|
error (ERROR: GLUT not found or wrong path entry in OpenMesh\qmake\packages\packages.Windows! Please adjust it to your path!)
|
2009-02-09 12:30:08 +00:00
|
|
|
}
|
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
|
2009-04-30 12:41:12 +00:00
|
|
|
|
|
|
|
|
QMAKE_LIBDIR += $${TOPDIR}/lib/
|
|
|
|
|
QMAKE_LIBDIR += $${TOPDIR}/lib/
|
|
|
|
|
|
|
|
|
|
CONFIG( debug, debug|release ){
|
|
|
|
|
LIBS+= -L$${TOPDIR}/lib -lOpenMeshCored
|
|
|
|
|
LIBS+= -L$${TOPDIR}/lib -lOpenMeshToolsd
|
|
|
|
|
} else {
|
|
|
|
|
LIBS+= -L$${TOPDIR}/lib -lOpenMeshCore
|
|
|
|
|
LIBS+= -L$${TOPDIR}/lib -lOpenMeshTools
|
|
|
|
|
}
|
|
|
|
|
|
2009-02-06 13:37:46 +00:00
|
|
|
export(DEFINES)
|
|
|
|
|
export(QMAKE_LIBDIR)
|
|
|
|
|
export(LIBS)
|
|
|
|
|
}
|
|
|
|
|
|