| 1 |
add_library(edgepaintlib STATIC |
| 2 |
edge_distinct_coloring.h |
| 3 |
furtherest_point.h |
| 4 |
intersection.h |
| 5 |
lab.h |
| 6 |
lab_gamut.h |
| 7 |
node_distinct_coloring.h |
| 8 |
|
| 9 |
edge_distinct_coloring.c |
| 10 |
furtherest_point.c |
| 11 |
intersection.c |
| 12 |
lab.c |
| 13 |
lab_gamut.c |
| 14 |
node_distinct_coloring.c |
| 15 |
) |
| 16 |
|
| 17 |
target_include_directories(edgepaintlib PRIVATE |
| 18 |
.. |
| 19 |
../cdt |
| 20 |
../cgraph |
| 21 |
../common |
| 22 |
../gvc |
| 23 |
../pathplan |
| 24 |
) |
| 25 |
|
| 26 |
target_link_libraries(edgepaintlib PRIVATE util) |
| 27 |
|
| 28 |
# work around needed for an object library |
| 29 |
# https://gitlab.com/graphviz/graphviz/-/issues/1613 |
| 30 |
if(APPLE) |
| 31 |
target_compile_options(edgepaintlib PRIVATE "-fno-common") |
| 32 |
endif() |