blob: 544aba39961e92eed27041ec8b6faeacf274ce28 (
plain) (
blame)
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
|
PY2_LIBRARY()
LICENSE(PSF-2.0)
NO_COMPILER_WARNINGS()
PEERDIR(
ADDINCL contrib/libs/freetype
ADDINCL contrib/libs/libpng
ADDINCL contrib/python/numpy
contrib/libs/qhull
contrib/python/matplotlib/py2/extern/agg24-svn
contrib/python/matplotlib/py2/extern/ttconv
)
ADDINCL(
contrib/libs/qhull/libqhull_r
contrib/python/matplotlib/py2
contrib/python/matplotlib/py2/extern
contrib/python/matplotlib/py2/extern/agg24-svn/include
)
CFLAGS(
-D_MULTIARRAYMODULE
-DFREETYPE_BUILD_TYPE=local
-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION
-DMPL_DEVNULL=/dev/null
)
IF (OS_WINDOWS)
LDFLAGS(
Psapi.lib
)
ENDIF()
PY_REGISTER(
matplotlib._contour
matplotlib._image # peerdir agg24-svn
matplotlib._path # peerdir agg24-svn
matplotlib._png
matplotlib._qhull # peerdir libqhull
matplotlib.backends._backend_agg # peerdir agg24-svn
matplotlib.backends._tkagg
matplotlib.ft2font
matplotlib.ttconv # peerdir ttconv
)
SRCS(
_backend_agg.cpp
_backend_agg_wrapper.cpp
_contour.cpp
_contour_wrapper.cpp
_image.cpp
_image_wrapper.cpp
_path_wrapper.cpp
_png.cpp
_tkagg.cpp
_ttconv.cpp
ft2font.cpp
ft2font_wrapper.cpp
mplutils.cpp
py_converters.cpp
qhull_wrap.c
)
END()
|