From dd3d3520fe6a17c652c9d33e4857388efcb45ef8 Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Wed, 4 Jan 2017 00:49:15 +0100 Subject: [PATCH] Add lib/circogen to CMake build The static library circogen has no dependencies and required no additional checks. --- lib/CMakeLists.txt | 1 + lib/circogen/CMakeLists.txt | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 lib/circogen/CMakeLists.txt diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index c03e84485..23718a336 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -1,5 +1,6 @@ # No dependencies add_subdirectory(cdt) +add_subdirectory(circogen) add_subdirectory(patchwork) add_subdirectory(pathplan) add_subdirectory(twopigen) diff --git a/lib/circogen/CMakeLists.txt b/lib/circogen/CMakeLists.txt new file mode 100644 index 000000000..2841c0643 --- /dev/null +++ b/lib/circogen/CMakeLists.txt @@ -0,0 +1,37 @@ +include_directories( + . + ${GRAPHVIZ_LIB_DIR}/cdt + ${GRAPHVIZ_LIB_DIR}/cgraph + ${GRAPHVIZ_LIB_DIR}/common + ${GRAPHVIZ_LIB_DIR}/gvc + ${GRAPHVIZ_LIB_DIR}/neatogen + ${GRAPHVIZ_LIB_DIR}/pack + ${GRAPHVIZ_LIB_DIR}/pathplan + ${GRAPHVIZ_LIB_DIR}/sparse +) + +add_library(circogen STATIC + # Header files + block.h + blockpath.h + blocktree.h + circo.h + circpos.h + circular.h + deglist.h + edgelist.h + nodelist.h + nodeset.h + + # Source files + block.c + blockpath.c + blocktree.c + circpos.c + circular.c + circularinit.c + deglist.c + edgelist.c + nodelist.c + nodeset.c +) -- 2.40.0