Commit f5d80b7e authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

.pro file

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@63698 954022d7-b5bf-4e40-9824-e11837661b57
parent 380859d8
#-------------------------------------------------
#
# Project created by QtCreator 2015-05-15T12:43:02
#
#-------------------------------------------------
QT -= core gui
VERSION = 1.0.0.1
TARGET = XpsFile
TEMPLATE = lib
#CONFIG += staticlib
CONFIG += shared
############### destination path ###############
DESTINATION_SDK_PATH = $$PWD/../SDK/lib
# WINDOWS
win32:contains(QMAKE_TARGET.arch, x86_64):{
CONFIG(debug, debug|release) {
DESTDIR = $$DESTINATION_SDK_PATH/win_64/DEBUG
} else {
DESTDIR = $$DESTINATION_SDK_PATH/win_64
}
}
win32:!contains(QMAKE_TARGET.arch, x86_64):{
CONFIG(debug, debug|release) {
DESTDIR = $$DESTINATION_SDK_PATH/win_32/DEBUG
} else {
DESTDIR = $$DESTINATION_SDK_PATH/win_32
}
}
linux-g++:contains(QMAKE_HOST.arch, x86_64):{
DESTDIR = $$DESTINATION_SDK_PATH/linux_64
}
linux-g++:!contains(QMAKE_HOST.arch, x86_64):{
DESTDIR = $$DESTINATION_SDK_PATH/linux_32
}
################################################
############# dynamic dependencies #############
shared {
DEFINES += XPS_USE_DYNAMIC_LIBRARY
LIBS += -L$$DESTDIR -lASCOfficeUtilsLib
LIBS += -L$$DESTDIR -lgraphics
LIBS += -L$$DESTDIR -llibxml
LIBS += -L$$DESTDIR -lPdfWriter
message(dynamic)
win32 {
LIBS += -lgdi32 \
-ladvapi32 \
-luser32 \
-lshell32
TARGET_EXT = .dll
}
linux-g++ | linux-g++-64 | linux-g++-32 {
CONFIG += plugin
TARGET_EXT = .so
}
}
################################################
CONFIG += c++11
linux-g++ | linux-g++-64 | linux-g++-32 {
DEFINES += \
HAVE_UNISTD_H \
LINUX \
_LINUX \
_LINUX_QT
message(linux)
}
DEFINES += \
_QT \
FT2_BUILD_LIBRARY \
EXCLUDE_JPG_SUPPORT \
MNG_SUPPORT_DISPLAY \
MNG_SUPPORT_READ \
MNG_SUPPORT_WRITE \
MNG_ACCESS_CHUNKS \
MNG_STORE_CHUNKS\
MNG_ERROR_TELLTALE
win32 {
DEFINES += \
JAS_WIN_MSVC_BUILD \
WIN32 \
NOMINMAX
message(windows)
}
INCLUDEPATH += \
../DesktopEditor/agg-2.4/include \
../DesktopEditor/freetype-2.5.2/include \
../DesktopEditor/cximage/jasper/include \
../DesktopEditor/cximage/jpeg \
../DesktopEditor/cximage/png \
../DesktopEditor/cximage/zlib
HEADERS += \
XpsFile.h \
XpsLib/ContextState.h \
XpsLib/Document.h \
XpsLib/FontList.h \
XpsLib/Page.h \
XpsLib/StaticResources.h \
XpsLib/Utils.h \
XpsLib/WString.h
SOURCES += \
XpsFile.cpp \
XpsLib/ContextState.cpp \
XpsLib/Document.cpp \
XpsLib/Page.cpp \
XpsLib/StaticResources.cpp \
XpsLib/Utils.cpp \
XpsLib/WString.cpp
unix {
target.path = /usr/lib
INSTALLS += target
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment