blob: ce5a90f65954e671c155a131f70c1908b1439245 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
TEMPLATE = lib
QT -= core gui
DEFINES += BUILDING_LIBHUNSPELL
CONFIG += dll
#CONFIG += staticlib
CONFIG += precompile_header warn_off
debug {
DEFINES += HUNSPELL_WARNING_ON
}
build_pass {
CONFIG(debug, debug|release) {
SUBPATH = debug
win32: TARGET_SUFFIX = d
} else {
SUBPATH = release
}
} else {
debug_and_release: CONFIG += build_all
else:win32:CONFIG(debug, debug|release): TARGET_SUFFIX = d
}
DESTDIR = $$SUBPATH
TARGET = hunspell$$TARGET_SUFFIX
dll {
win32: CONFIG += skip_target_version_ext
target.path = $$[QT_INSTALL_LIBS]
INSTALLS += target
}
config_file = "/* Version number of package */" "$${LITERAL_HASH}define VERSION \"$$VERSION\""
write_file($$PWD/config.h, config_file)
INCLUDEPATH += \
./ \
src/hunspell
SOURCES += \
src/hunspell/affentry.cxx \
src/hunspell/affixmgr.cxx \
src/hunspell/csutil.cxx \
src/hunspell/dictmgr.cxx \
src/hunspell/filemgr.cxx \
src/hunspell/hashmgr.cxx \
src/hunspell/hunspell.cxx \
src/hunspell/hunzip.cxx \
src/hunspell/phonet.cxx \
src/hunspell/replist.cxx \
src/hunspell/suggestmgr.cxx
HEADERS += \
config.h \
src/hunspell/affentry.hxx \
src/hunspell/affixmgr.hxx \
src/hunspell/atypes.hxx \
src/hunspell/baseaffix.hxx \
src/hunspell/csutil.hxx \
src/hunspell/dictmgr.hxx \
src/hunspell/filemgr.hxx \
src/hunspell/hashmgr.hxx \
src/hunspell/htypes.hxx \
src/hunspell/hunspell.h \
src/hunspell/hunspell.hxx \
src/hunspell/hunvisapi.h \
src/hunspell/hunzip.hxx \
src/hunspell/langnum.hxx \
src/hunspell/phonet.hxx \
src/hunspell/replist.hxx \
src/hunspell/suggestmgr.hxx \
src/hunspell/w_char.hxx
OTHER_FILES +=\
src/hunspell/license.hunspell \
src/hunspell/license.myspell \
src/hunspell/utf_info.cxx
|