mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
all dependency
This commit is contained in:
@ -15,7 +15,8 @@ PWD_ROOT_DIR = $$PWD
|
||||
include($$CORE_ROOT_DIR/Common/base.pri)
|
||||
|
||||
#BOOST
|
||||
include($$CORE_ROOT_DIR/Common/3dParty/boost/boost.pri)
|
||||
CONFIG += core_boost_regex
|
||||
include($$PWD/../Common/3dParty/boost/boost.pri)
|
||||
|
||||
ADD_DEPENDENCY(kernel, gumbo, UnicodeConverter, graphics, DocxFormatLib)
|
||||
|
||||
|
||||
@ -13,6 +13,21 @@ DEFINES += UNICODE \
|
||||
INCLUDEPATH += $$PWD/..
|
||||
DEPENDPATH += $$PWD/..
|
||||
|
||||
INCLUDEPATH += $$PWD/../../Common/DocxFormat
|
||||
DEPENDPATH += $$PWD/../../Common/DocxFormat
|
||||
|
||||
INCLUDEPATH += $$PWD/../../ASCOfficePPTXFile/
|
||||
DEPENDPATH += $$PWD/../../ASCOfficePPTXFile/
|
||||
|
||||
INCLUDEPATH += $$PWD/../../ASCOfficePPTXFile/Editor/
|
||||
DEPENDPATH += $$PWD/../../ASCOfficePPTXFile/Editor/
|
||||
|
||||
INCLUDEPATH += $$PWD/../../OfficeUtils/src
|
||||
DEPENDPATH += $$PWD/../../OfficeUtils/src
|
||||
|
||||
INCLUDEPATH += $$PWD/../../ASCOfficeDocxFile2
|
||||
DEPENDPATH += $$PWD/../../ASCOfficeDocxFile2
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
||||
CORE_ROOT_DIR = $$PWD/../../../core
|
||||
@ -20,11 +35,39 @@ PWD_ROOT_DIR = $$PWD
|
||||
include($$CORE_ROOT_DIR/Common/base.pri)
|
||||
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lHtmlFile2
|
||||
#Xls file
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lXlsFormatLib
|
||||
# odf format writer
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lOdfFileWriterLib
|
||||
# odf format reader
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lOdfFileReaderLib
|
||||
#doc file
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lDocFormatLib
|
||||
# ppt file
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lPptFormatLib
|
||||
#rtf file
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lRtfFormatLib
|
||||
#txt(xml) file
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lTxtXmlFormatLib
|
||||
#docxfile2
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lASCOfficeDocxFile2Lib
|
||||
#pptxformat
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lPPTXFormatLib
|
||||
#docxformat
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lDocxFormatLib
|
||||
#Crypto++
|
||||
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lCryptoPPLib
|
||||
|
||||
core_windows {
|
||||
LIBS += -lAdvapi32
|
||||
}
|
||||
|
||||
ADD_DEPENDENCY(ASCOfficeDocxFile2Lib, PPTXFormatLib, DocxFormatLib, CryptoPPLib)
|
||||
ADD_DEPENDENCY(kernel, gumbo, UnicodeConverter, graphics, HtmlFile2)
|
||||
ADD_DEPENDENCY(PdfWriter, PdfReader, HtmlFile, XpsFile, DjVuFile, HtmlRenderer, doctrenderer, Fb2File)
|
||||
|
||||
#BOOST
|
||||
include($$CORE_ROOT_DIR/Common/3dParty/boost/boost.pri)
|
||||
CONFIG += core_boost_regex
|
||||
include($$PWD/../../Common/3dParty/boost/boost.pri)
|
||||
|
||||
DESTDIR = $$PWD/build/$$CORE_BUILDS_PLATFORM_PREFIX
|
||||
|
||||
Reference in New Issue
Block a user