mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 10:59:17 +08:00
116 lines
2.3 KiB
Prolog
116 lines
2.3 KiB
Prolog
QT -= core gui
|
|
|
|
VERSION = 1.0.0.4
|
|
TARGET = PdfWriter
|
|
TEMPLATE = lib
|
|
|
|
CONFIG += shared
|
|
CONFIG += plugin
|
|
|
|
CONFIG += core_static_link_libstd
|
|
|
|
CORE_ROOT_DIR = $$PWD/..
|
|
PWD_ROOT_DIR = $$PWD
|
|
include(../Common/base.pri)
|
|
|
|
DEFINES += PDFWRITER_USE_DYNAMIC_LIBRARY
|
|
|
|
ADD_DEPENDENCY(graphics, kernel, UnicodeConverter)
|
|
|
|
DEFINES += CRYPTOPP_DISABLE_ASM
|
|
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lCryptoPPLib
|
|
|
|
DEFINES += NOMINMAX
|
|
|
|
core_linux {
|
|
DEFINES += HAVE_UNISTD_H HAVE_FCNTL_H
|
|
QMAKE_CXXFLAGS += -Wno-narrowing
|
|
}
|
|
core_mac {
|
|
DEFINES += HAVE_UNISTD_H HAVE_FCNTL_H
|
|
}
|
|
core_android {
|
|
QMAKE_CXXFLAGS += -Wno-narrowing
|
|
}
|
|
|
|
core_windows {
|
|
DEFINES -= UNICODE
|
|
DEFINES -= _UNICODE
|
|
|
|
LIBS += -lAdvapi32
|
|
LIBS += -lShell32
|
|
LIBS += -lUser32
|
|
}
|
|
|
|
include(../DesktopEditor/graphics/pro/freetype.pri)
|
|
|
|
core_windows {
|
|
|
|
LIBS += -lgdi32 \
|
|
-ladvapi32 \
|
|
-luser32 \
|
|
-lshell32
|
|
}
|
|
|
|
HEADERS += \
|
|
Src/AcroForm.h \
|
|
Src/Annotation.h \
|
|
Src/Catalog.h \
|
|
Src/Consts.h \
|
|
Src/Destination.h \
|
|
Src/Document.h \
|
|
Src/Encodings.h \
|
|
Src/Encrypt.h \
|
|
Src/EncryptDictionary.h \
|
|
Src/Field.h \
|
|
Src/Font.h \
|
|
Src/Font14.h \
|
|
Src/FontCidTT.h \
|
|
Src/FontTT.h \
|
|
Src/FontTTWriter.h \
|
|
Src/GState.h \
|
|
Src/Image.h \
|
|
Src/Info.h \
|
|
Src/Objects.h \
|
|
Src/Outline.h \
|
|
Src/Pages.h \
|
|
Src/Pattern.h \
|
|
Src/ResourcesDictionary.h \
|
|
Src/Shading.h \
|
|
Src/Streams.h \
|
|
Src/Types.h \
|
|
Src/Utils.h \
|
|
OnlineOfficeBinToPdf.h \
|
|
PdfRenderer.h \
|
|
Src/Metadata.h \
|
|
Src/ICCProfile.h
|
|
|
|
SOURCES += \
|
|
Src/AcroForm.cpp \
|
|
Src/Annotation.cpp \
|
|
Src/Catalog.cpp \
|
|
Src/Destination.cpp \
|
|
Src/Document.cpp \
|
|
Src/Encrypt.cpp \
|
|
Src/EncryptDictionary.cpp \
|
|
Src/Field.cpp \
|
|
Src/Font.cpp \
|
|
Src/Font14.cpp \
|
|
Src/FontCidTT.cpp \
|
|
Src/FontTT.cpp \
|
|
Src/FontTTWriter.cpp \
|
|
Src/GState.cpp \
|
|
Src/Image.cpp \
|
|
Src/Info.cpp \
|
|
Src/Objects.cpp \
|
|
Src/Outline.cpp \
|
|
Src/Pages.cpp \
|
|
Src/Pattern.cpp \
|
|
Src/ResourcesDictionary.cpp \
|
|
Src/Shading.cpp \
|
|
Src/Streams.cpp \
|
|
Src/Utils.cpp \
|
|
Src/Metadata.cpp \
|
|
OnlineOfficeBinToPdf.cpp \
|
|
PdfRenderer.cpp
|