| 1 |
message("Updating Konclude version from Git Revision.") |
| 2 |
|
| 3 |
# Create our custom gitbuild target. |
| 4 |
win32:gitbuild.commands = $${PWD}/WinGitBuildScript.bat |
| 5 |
else:gitbuild.commands = $${PWD}/UnixGitBuildScript.sh |
| 6 |
QMAKE_EXTRA_TARGETS += gitbuild |
| 7 |
|
| 8 |
PRE_TARGETDEPS = gitbuild |
| 9 |
|
| 10 |
message("Preparing source code of Konclude.") |
| 11 |
TEMPLATE = app |
| 12 |
TARGET = Konclude |
| 13 |
DESTDIR = ./Release |
| 14 |
QT += xml network concurrent |
| 15 |
CONFIG += release console warn_off c++11 |
| 16 |
DEFINES += QT_XML_LIB QT_NETWORK_LIB KONCLUDE_REDLAND_INTEGRATION KONCLUDE_FORCE_ALL_DEBUG_DEACTIVATED |
| 17 |
INCLUDEPATH += ./generatedfiles \ |
| 18 |
./GeneratedFiles/Release \ |
| 19 |
./Source \ |
| 20 |
. |
| 21 |
DEPENDPATH += . |
| 22 |
MOC_DIR += ./GeneratedFiles/release |
| 23 |
OBJECTS_DIR += release |
| 24 |
UI_DIR += ./GeneratedFiles |
| 25 |
RCC_DIR += ./GeneratedFiles |
| 26 |
# QMAKE_CXXFLAGS += -ggdb |
| 27 |
|
| 28 |
#Include file(s) |
| 29 |
include(Konclude.pri) |
| 30 |
|
| 31 |
unix { |
| 32 |
CONFIG += link_pkgconfig |
| 33 |
PKGCONFIG += redland raptor2 rasqal jemalloc |
| 34 |
} |
| 35 |
|
| 36 |
|
| 37 |
win32: LIBS += "C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64\kernel32.Lib" |
| 38 |
win32: LIBS += $$PWD/External/librdf/Windows/x64/lib/Release/librdf.lib |
| 39 |
win32: LIBS += $$PWD/External/librdf/Windows/x64/lib/Release/raptor2.lib |
| 40 |
win32: LIBS += $$PWD/External/librdf/Windows/x64/lib/Release/rasqal.lib |
| 41 |
win32: LIBS += $$PWD/External/librdf/Windows/x64/lib/Release/libsv.lib |
| 42 |
|
| 43 |
win32: INCLUDEPATH += $$PWD/External/librdf/Windows/x64/include |
| 44 |
win32: DEPENDPATH += $$PWD/External/librdf/Windows/x64/include |