Debian Codegraph @

lib/neatogen/CMakeLists.txt

raw
1 add_definitions(-DNEATOGEN_EXPORTS=1)
2
3 set(SOURCES
4 # Header files
5 adjust.h
6 bfs.h
7 call_tri.h
8 closest.h
9 conjgrad.h
10 defs.h
11 delaunay.h
12 digcola.h
13 dijkstra.h
14 edges.h
15 embed_graph.h
16 fPQ.h
17 geometry.h
18 heap.h
19 hedges.h
20 info.h
21 kkutils.h
22 matrix_ops.h
23 multispline.h
24 neato.h
25 neatoprocs.h
26 overlap.h
27 pca.h
28 poly.h
29 quad_prog_solver.h
30 quad_prog_vpsc.h
31 site.h
32 sparsegraph.h
33 stress.h
34 voronoi.h
35 sgd.h
36 randomkit.h
37
38 # Source files
39 adjust.c
40 bfs.c
41 call_tri.c
42 circuit.c
43 closest.c
44 compute_hierarchy.c
45 conjgrad.c
46 constrained_majorization.c
47 constraint.c
48 delaunay.c
49 dijkstra.c
50 edges.c
51 embed_graph.c
52 geometry.c
53 heap.c
54 hedges.c
55 info.c
56 kkutils.c
57 legal.c
58 lu.c
59 matinv.c
60 matrix_ops.c
61 multispline.c
62 neatoinit.c
63 neatosplines.c
64 opt_arrangement.c
65 overlap.c
66 pca.c
67 poly.c
68 quad_prog_solve.c
69 site.c
70 smart_ini_x.c
71 solve.c
72 stuff.c
73 stress.c
74 voronoi.c
75 sgd.c
76 randomkit.c
77 )
78
79 if(with_ipsepcola)
80 list(APPEND SOURCES
81 constrained_majorization_ipsep.c
82 quad_prog_vpsc.c
83 )
84 endif()
85
86 add_library(neatogen STATIC
87 ${SOURCES}
88 )
89
90 target_include_directories(neatogen PRIVATE
91 ..
92 ../cdt
93 ../cgraph
94 ../common
95 ../gvc
96 ../pack
97 ../pathplan
98 )
99
100 target_link_libraries(neatogen PRIVATE
101 cgraph
102 gvc
103 pathplan
104 sparse
105 rbtree
106 util
107 )
108
109 if(with_ipsepcola)
110 target_link_libraries(neatogen PRIVATE vpsc)
111 endif()
112
113 if(GTS_FOUND)
114 target_include_directories(neatogen SYSTEM PRIVATE
115 ${GTS_INCLUDE_DIRS}
116 )
117
118 target_link_libraries(neatogen PRIVATE
119 ${GTS_LINK_LIBRARIES}
120 )
121
122 if(WIN32 AND NOT MINGW AND install_win_dependency_dlls)
123 install(
124 FILES ${GTS_RUNTIME_LIBRARIES}
125 DESTINATION ${BINARY_INSTALL_DIR}
126 )
127 endif()
128 endif()