summaryrefslogtreecommitdiff
path: root/opencsg.pri
diff options
context:
space:
mode:
Diffstat (limited to 'opencsg.pri')
-rw-r--r--opencsg.pri19
1 files changed, 19 insertions, 0 deletions
diff --git a/opencsg.pri b/opencsg.pri
new file mode 100644
index 0000000..3b54f0f
--- /dev/null
+++ b/opencsg.pri
@@ -0,0 +1,19 @@
+opencsg {
+ DEFINES += ENABLE_OPENCSG
+ LIBS += -lopencsg
+ unix:LIBS += -lGLEW
+ win32:LIBS += -lglew32
+
+ # 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
+ }
+ macx {
+ # For glew
+ INCLUDEPATH += /opt/local/include
+ LIBS += -L/opt/local/lib
+ }
+}
contact: Jan Huwald // Impressum