packages.Darwin 858 Bytes
Newer Older
Jan Möbius's avatar
Jan Möbius committed
1 2 3 4 5 6 7 8 9 10 11

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

defineTest( qt ) {
  QT += opengl network script sql
  export(QT)
}

defineTest( glew ) {
12
  INCLUDEPATH *= /sw/include/GL
Jan Möbius's avatar
Jan Möbius committed
13
  export(INCLUDEPATH)
14
  LIBS *= -L/sw/lib -lGLEW
Jan Möbius's avatar
Jan Möbius committed
15 16 17 18 19 20 21 22 23 24
  export(LIBS)
}

defineTest( glut ) {
  INCLUDEPATH *= /System/Library/Frameworks/GLUT.framework/Headers
  export(INCLUDEPATH)
  LIBS *= -framework GLUT
  export(LIBS)
}

25
defineTest( openmesh ) {
26 27 28 29 30 31 32 33 34 35
  QMAKE_LIBDIR += $${TOPDIR}/lib/$${BUILDDIRECTORY}
  QMAKE_LIBDIR += $${TOPDIR}/lib/$${BUILDDIRECTORY}
 
  CONFIG( debug, debug|release ){
    LIBS += -lOpenMeshToolsd
    LIBS += -lOpenMeshCored
  } else {
    LIBS += -lOpenMeshTools
    LIBS += -lOpenMeshCore
  }
36 37
  export(QMAKE_LIBDIR)
  export(LIBS)
Jan Möbius's avatar
Jan Möbius committed
38
}