From b70360c463c16cd706f2c79184296f49fd02b426 Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Thu, 5 Jan 2017 00:07:10 +0100 Subject: [PATCH] Add lib/dotgen to CMake build The static library dotgen has no dependencies and required no additional checks. --- lib/CMakeLists.txt | 1 + lib/dotgen/CMakeLists.txt | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 lib/dotgen/CMakeLists.txt diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 23718a336..f7b9acd04 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -1,6 +1,7 @@ # No dependencies add_subdirectory(cdt) add_subdirectory(circogen) +add_subdirectory(dotgen) add_subdirectory(patchwork) add_subdirectory(pathplan) add_subdirectory(twopigen) diff --git a/lib/dotgen/CMakeLists.txt b/lib/dotgen/CMakeLists.txt new file mode 100644 index 000000000..b135af9ab --- /dev/null +++ b/lib/dotgen/CMakeLists.txt @@ -0,0 +1,35 @@ +include_directories( + . + ${GRAPHVIZ_LIB_DIR}/cdt + ${GRAPHVIZ_LIB_DIR}/cgraph + ${GRAPHVIZ_LIB_DIR}/common + ${GRAPHVIZ_LIB_DIR}/gvc + ${GRAPHVIZ_LIB_DIR}/ortho + ${GRAPHVIZ_LIB_DIR}/pack + ${GRAPHVIZ_LIB_DIR}/pathplan +) + +add_library(dotgen STATIC + # Header files + aspect.h + dot.h + dotprocs.h + + # Source files + aspect.c + acyclic.c + class1.c + class2.c + cluster.c + compound.c + conc.c + decomp.c + dotinit.c + dotsplines.c + fastgr.c + flat.c + mincross.c + position.c + rank.c + sameport.c +) -- 2.40.0