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

hunspell build pro

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@64212 954022d7-b5bf-4e40-9824-e11837661b57
parent a1240231
DEFINES += HUNSPELL_STATIC
building_hunspell {
DEFINES += BUILDING_LIBHUNSPELL
}
linux-g++ | linux-g++-64 | linux-g++-32 {
message(linux)
}
mac {
message(mac)
}
win32 {
DEFINES += WIN32
DEFINES += _WIN32
message(windows)
}
INCLUDEPATH += \
$$PWD/../hunspell \
$$PWD/../win_api
SOURCES += \
$$PWD/../hunspell/affentry.cxx \
$$PWD/../hunspell/affixmgr.cxx \
$$PWD/../hunspell/csutil.cxx \
$$PWD/../hunspell/dictmgr.cxx \
$$PWD/../hunspell/filemgr.cxx \
$$PWD/../hunspell/hashmgr.cxx \
$$PWD/../hunspell/hunspell.cxx \
$$PWD/../hunspell/hunzip.cxx \
$$PWD/../hunspell/phonet.cxx \
$$PWD/../hunspell/replist.cxx \
$$PWD/../hunspell/suggestmgr.cxx
HEADERS += \
$$PWD/../hunspell/affentry.hxx \
$$PWD/../hunspell/affixmgr.hxx \
$$PWD/../hunspell/atypes.hxx \
$$PWD/../hunspell/baseaffix.hxx \
$$PWD/../hunspell/csutil.hxx \
$$PWD/../hunspell/dictmgr.hxx \
$$PWD/../hunspell/filemgr.hxx \
$$PWD/../hunspell/hashmgr.hxx \
$$PWD/../hunspell/htypes.hxx \
$$PWD/../hunspell/hunspell.h \
$$PWD/../hunspell/hunspell.hxx \
$$PWD/../hunspell/hunzip.hxx \
$$PWD/../hunspell/langnum.hxx \
$$PWD/../hunspell/phonet.hxx \
$$PWD/../hunspell/replist.hxx \
$$PWD/../hunspell/suggestmgr.hxx \
$$PWD/../hunspell/w_char.hxx \
$$PWD/../win_api/config.h
...@@ -10,69 +10,34 @@ TARGET = hunspell ...@@ -10,69 +10,34 @@ TARGET = hunspell
TEMPLATE = lib TEMPLATE = lib
CONFIG += staticlib CONFIG += staticlib
#CONFIG += static CONFIG += building_hunspell
#CONFIG += shared
#CONFIG += plugin
DEFINES += _QT include($$PWD/hunspell.pri)
DEFINES += HUNSPELL_STATIC
DEFINES += BUILDING_LIBHUNSPELL
linux-g++ | linux-g++-64 | linux-g++-32 { ############### destination path ###############
message(linux) DESTINATION_SDK_PATH = $$PWD/../../../../SDK/lib
}
mac { # WINDOWS
message(mac) 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
} }
win32 {
DEFINES += WIN32
DEFINES += _WIN32
message(windows)
} }
INCLUDEPATH += C:/Qt/Qt5.4.0/5.4/msvc2013_64_opengl/include linux-g++:contains(QMAKE_HOST.arch, x86_64):{
DESTDIR = $$DESTINATION_SDK_PATH/linux_64
INCLUDEPATH += ../hunspell \ }
../win_api linux-g++:!contains(QMAKE_HOST.arch, x86_64):{
DESTDIR = $$DESTINATION_SDK_PATH/linux_32
SOURCES += \
../hunspell/affentry.cxx \
../hunspell/affixmgr.cxx \
../hunspell/csutil.cxx \
../hunspell/dictmgr.cxx \
../hunspell/filemgr.cxx \
../hunspell/hashmgr.cxx \
../hunspell/hunspell.cxx \
../hunspell/hunzip.cxx \
../hunspell/phonet.cxx \
../hunspell/replist.cxx \
../hunspell/suggestmgr.cxx
HEADERS += \
../hunspell/affentry.hxx \
../hunspell/affixmgr.hxx \
../hunspell/atypes.hxx \
../hunspell/baseaffix.hxx \
../hunspell/csutil.hxx \
../hunspell/dictmgr.hxx \
../hunspell/filemgr.hxx \
../hunspell/hashmgr.hxx \
../hunspell/htypes.hxx \
../hunspell/hunspell.h \
../hunspell/hunspell.hxx \
../hunspell/hunzip.hxx \
../hunspell/langnum.hxx \
../hunspell/phonet.hxx \
../hunspell/replist.hxx \
../hunspell/suggestmgr.hxx \
../hunspell/w_char.hxx \
../win_api/config.h
unix {
target.path = /usr/lib
INSTALLS += target
} }
OTHER_FILES += ################################################
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