mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-02-10 18:05:16 +08:00
48 lines
1.1 KiB
Prolog
48 lines
1.1 KiB
Prolog
|
|
TARGET = DesktopEditors
|
|
DESTDIR = $$PWD
|
|
|
|
include(defaults.pri)
|
|
|
|
INCLUDEPATH += $$PWD/src/prop \
|
|
$$PWD/src
|
|
|
|
HEADERS += \
|
|
#src/prop/csplash_p.h \
|
|
src/prop/defines_p.h \
|
|
src/prop/cascapplicationmanagerwrapperintf.h \
|
|
src/prop/version_p.h
|
|
|
|
SOURCES += \
|
|
src/prop/cmainwindowimpl.cpp \
|
|
src/prop/utils.cpp
|
|
|
|
RC_FILE = $$PWD/version.rc
|
|
#DEFINES += _GLIBCXX_USE_CXX11_ABI=0
|
|
DEFINES += __DONT_WRITE_IN_APP_TITLE
|
|
|
|
message($$PLATFORM_BUILD)
|
|
|
|
win32 {
|
|
updmodule:!build_xp {
|
|
DEFINES += _UPDMODULE
|
|
|
|
ENV_URL_APPCAST_MAIN = $$(DESKTOP_URL_UPDATES_MAIN_CHANNEL)
|
|
!isEmpty(ENV_URL_APPCAST_MAIN) {
|
|
DEFINES += URL_APPCAST_UPDATES=\\\"$${ENV_URL_APPCAST_MAIN}\\\"
|
|
}
|
|
|
|
ENV_URL_APPCAST_DEV = $$(DESKTOP_URL_UPDATES_DEV_CHANNEL)
|
|
!isEmpty(ENV_URL_APPCAST_DEV) {
|
|
DEFINES += URL_APPCAST_DEV_CHANNEL=\\\"$${ENV_URL_APPCAST_DEV}\\\"
|
|
}
|
|
|
|
message(updates is turned on)
|
|
message(appcast url: $$ENV_URL_APPCAST_MAIN)
|
|
message(appcast dev url: \\\"$$ENV_URL_APPCAST_DEV\\\")
|
|
}
|
|
}
|
|
|
|
HEADERS += \
|
|
src/prop/cmainwindowimpl.h
|