diff options
author | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-30 04:27:59 (GMT) |
---|---|---|
committer | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-30 04:27:59 (GMT) |
commit | 9b3d816122e76755d44346175b9e9dce8158d7d2 (patch) | |
tree | e7e514a3aab7840ef0d676055836b427ae0d43fc /opencsg.pri | |
parent | 191dc4857c852f1867e80cd9d03a6d1c0921dcb1 (diff) |
resource and build system update
git-svn-id: http://svn.clifford.at/openscad/trunk@366 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'opencsg.pri')
-rw-r--r-- | opencsg.pri | 19 |
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 + } +} |