summaryrefslogtreecommitdiff
path: root/opencsg.pri
blob: a3b70f73e98700a1dbc6bb1d9065e1182e696d49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
opencsg {
  DEFINES += ENABLE_OPENCSG
  CONFIG += glew
  include(glew.pri)

  HEADERS += src/render-opencsg.h
  SOURCES += src/render-opencsg.cc

  !deploy {
    # Optionally specify location of OpenCSG using the 
    # OPENCSGDIR env. variable
    OPENCSG_DIR = $$(OPENCSGDIR)
    !isEmpty(OPENCSG_DIR) {
      INCLUDEPATH += $$OPENCSG_DIR/include
      LIBS += -L$$OPENCSG_DIR/lib
      message("OpenCSG location: $$OPENCSG_DIR")
    }
  }

  LIBS += -lopencsg
}
contact: Jan Huwald // Impressum