summaryrefslogtreecommitdiffstats
path: root/src/2geom/CMakeLists.txt
blob: e1e708e6d34782db103ace980b568b8b8d9b0549 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# Override error flag just for this folder
if (CMAKE_BUILD_TYPE MATCHES Strict)
	set(CMAKE_CXX_FLAGS_STRICT "${CMAKE_CXX_FLAGS_STRICT} -Wno-error=deprecated-declarations")
endif()

if(HAVE_SINCOS)
	add_definitions(-DHAVE_SINCOS)
endif()

set(2geom_SRC
	affine.cpp
	basic-intersection.cpp
	bezier.cpp
	bezier-clipping.cpp
	bezier-curve.cpp
	bezier-utils.cpp
	cairo-path-sink.cpp
	circle.cpp
	# conic_section_clipper_impl.cpp
	# conicsec.cpp
	convex-hull.cpp
	coord.cpp
	crossing.cpp
	curve.cpp
	d2-sbasis.cpp
	ellipse.cpp
	elliptical-arc.cpp
	elliptical-arc-from-sbasis.cpp
	geom.cpp
	intersection-graph.cpp
	line.cpp
	nearest-time.cpp
	numeric/matrix.cpp
	path-intersection.cpp
	path-sink.cpp
	path.cpp
	pathvector.cpp
	piecewise.cpp
	point.cpp
	polynomial.cpp
	rect.cpp
	# recursive-bezier-intersection.cpp
	sbasis-2d.cpp
	sbasis-geometric.cpp
	sbasis-math.cpp
	sbasis-poly.cpp
	sbasis-roots.cpp
	sbasis-to-bezier.cpp
	sbasis.cpp
	solve-bezier.cpp
	solve-bezier-one-d.cpp
	solve-bezier-parametric.cpp
	svg-path-parser.cpp
	svg-path-writer.cpp
	sweep-bounds.cpp
	transforms.cpp
	utils.cpp


	# -------
	2geom.h
	# Headers
	affine.h
	angle.h
	basic-intersection.h
	bezier-curve.h
	bezier-to-sbasis.h
	bezier-utils.h
	bezier.h
	cairo-path-sink.h
	choose.h
	circle.h
	concepts.h
	conic_section_clipper.h
	conic_section_clipper_cr.h
	conic_section_clipper_impl.h
	conicsec.h
	convex-hull.h
	coord.h
	crossing.h
	curve.h
	curves.h
	d2.h
	ellipse.h
	elliptical-arc.h
	exception.h
	forward.h
	generic-interval.h
	generic-rect.h
	geom.h
	int-interval.h
	int-point.h
	int-rect.h
	intersection-graph.h
	intersection.h
	interval.h
	line.h
	linear.h
	math-utils.h
	nearest-time.h
	ord.h
	path-intersection.h
	path-sink.h
	path.h
	pathvector.h
	piecewise.h
	point.h
	polynomial.h
	ray.h
	rect.h
	sbasis-2d.h
	sbasis-curve.h
	sbasis-geometric.h
	sbasis-math.h
	sbasis-poly.h
	sbasis-to-bezier.h
	sbasis.h
	solver.h
	svg-path-parser.h
	svg-path-writer.h
	sweep-bounds.h
	sweeper.h
	transforms.h
	utils.h

	numeric/fitting-model.h
	numeric/fitting-tool.h
	numeric/linear_system.h
	numeric/matrix.h
	numeric/symmetric-matrix-fs-operation.h
	numeric/symmetric-matrix-fs-trace.h
	numeric/symmetric-matrix-fs.h
	numeric/vector.h
)

# make lib for 2geom_LIB
add_inkscape_lib(2geom_LIB "${2geom_SRC}")
target_include_directories(2geom_LIB PRIVATE ${DoubleConversion_INCLUDE_DIRS})
target_link_libraries(2geom_LIB PRIVATE ${DoubleConversion_LIBRARIES})