Mercurial > hg > sonic-visualiser
changeset 533:73a04e749675 with-dependencies
Add dependency paths; include config only if it exists, etc
author | Chris Cannam <chris.cannam@eecs.qmul.ac.uk> |
---|---|
date | Mon, 25 Mar 2013 15:16:14 +0000 |
parents | 851a55ddf47f |
children | 8d0d4ae4b592 |
files | platform-dataquay.pri |
diffstat | 1 files changed, 21 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
--- a/platform-dataquay.pri Wed Mar 20 16:19:27 2013 +0000 +++ b/platform-dataquay.pri Mon Mar 25 15:16:14 2013 +0000 @@ -1,13 +1,21 @@ - -include(./config.pri) - -CONFIG += staticlib - -DEFINES -= USE_REDLAND -QMAKE_CXXFLAGS -= -I/usr/include/rasqal -I/usr/include/raptor2 -EXTRALIBS -= -lrdf - -DEFINES += USE_SORD -QMAKE_CXXFLAGS += -I/usr/local/include/sord-0 -I/usr/local/include/serd-0 -EXTRALIBS += -lsord-0 -lserd-0 - + +exists(config.pri) { + include(./config.pri) +} + +CONFIG += staticlib + +DEFINES -= USE_REDLAND +QMAKE_CXXFLAGS -= -I/usr/include/rasqal -I/usr/include/raptor2 +EXTRALIBS -= -lrdf + +DEFINES += USE_SORD +!win*: { + QMAKE_CXXFLAGS += -I/usr/local/include/sord-0 -I/usr/local/include/serd-0 +} +EXTRALIBS += -lsord-0 -lserd-0 + +win32-g++: { + INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include + LIBS += -L../../sv-dependency-builds/win32-mingw/lib +}