packages.Windows 1.04 KB
Newer Older
Jan Möbius's avatar
Jan Möbius committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14

################################################################################
# INCLUDE Packages
################################################################################


defineTest( glew ) {
  INCLUDEPATH *= c:\glew\include
  export(INCLUDEPATH)
  LIBS *= -Lc:\glew\lib -lglew32
  export(LIBS)
}

defineTest( qt ) {
Jan Möbius's avatar
Jan Möbius committed
15 16 17 18
  CONFIG *= uitools
  export(CONFIG)
  QT += opengl network script sql
  export(QT)
Jan Möbius's avatar
Jan Möbius committed
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
}

defineTest( glut ) {
  INCLUDEPATH *= c:\glut\include
  export(INCLUDEPATH)
  LIBS *= -Lc:\glut\lib -lglut32
  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)
}