mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-15 20:53:29 +08:00
47 lines
832 B
Prolog
47 lines
832 B
Prolog
TEMPLATE = app
|
|
CONFIG += console
|
|
CONFIG -= app_bundle
|
|
CONFIG -= qt
|
|
|
|
CORE_ROOT_DIR = $$PWD/../..
|
|
PWD_ROOT_DIR = $$PWD
|
|
|
|
include($$CORE_ROOT_DIR/Common/base.pri)
|
|
include($$CORE_ROOT_DIR/Common/3dParty/icu/icu.pri)
|
|
|
|
DESTDIR = $$PWD/../../build/bin/AllFontsGen
|
|
|
|
TARGET = $$CORE_BUILDS_PLATFORM_PREFIX
|
|
|
|
LIBS += -L$$CORE_BUILDS_LIBRARIES_PATH -lgraphics -lOfficeUtils -lUnicodeConverter
|
|
|
|
DEFINES += \
|
|
_QT \
|
|
FT2_BUILD_LIBRARY
|
|
|
|
INCLUDEPATH += \
|
|
../agg-2.4/include \
|
|
../freetype-2.5.2/include
|
|
|
|
core_windows {
|
|
DEFINES += \
|
|
JAS_WIN_MSVC_BUILD \
|
|
WIN32
|
|
|
|
DEFINES -= UNICODE
|
|
DEFINES -= _DEBUG
|
|
|
|
message(windows)
|
|
|
|
LIBS += -lAdvapi32
|
|
LIBS += -lShell32
|
|
LIBS += -lGdi32
|
|
LIBS += -lUser32
|
|
}
|
|
|
|
core_linux {
|
|
LIBS += -lz -pthread
|
|
}
|
|
|
|
SOURCES += main.cpp
|