2010-01-30 07:27:59 +03:00
|
|
|
opencsg {
|
2010-05-07 20:24:26 +04:00
|
|
|
DEFINES += ENABLE_OPENCSG
|
|
|
|
CONFIG += glew
|
|
|
|
include(glew.pri)
|
|
|
|
|
2010-02-10 19:43:43 +03:00
|
|
|
HEADERS += src/render-opencsg.h
|
|
|
|
SOURCES += src/render-opencsg.cc
|
|
|
|
|
2010-05-10 21:43:42 +04:00
|
|
|
isEmpty(DEPLOYDIR) {
|
2010-05-07 20:24:26 +04:00
|
|
|
# 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")
|
|
|
|
}
|
2010-01-30 07:27:59 +03:00
|
|
|
}
|
2010-05-07 20:24:26 +04:00
|
|
|
|
|
|
|
LIBS += -lopencsg
|
2010-01-30 07:27:59 +03:00
|
|
|
}
|