]> granicus.if.org Git - graphviz/commitdiff
Add lib/ingraphs to CMake build
authorErwin Janssen <erwinjanssen@outlook.com>
Sat, 7 Jan 2017 21:41:27 +0000 (22:41 +0100)
committerErwin Janssen <erwinjanssen@outlook.com>
Thu, 19 Jan 2017 11:53:51 +0000 (12:53 +0100)
The static library 'ingraphs' has no dependencies and required no
additional checks.

lib/CMakeLists.txt
lib/ingraphs/CMakeLists.txt [new file with mode: 0644]

index d69ad8aa5c8924d0ab2906c916aefa97195d9e9b..3333df50348afe66c00ccdab070cd6666d0ae04b 100644 (file)
@@ -3,6 +3,7 @@ add_subdirectory(cdt)
 add_subdirectory(circogen)
 add_subdirectory(dotgen)
 add_subdirectory(fdpgen)
+add_subdirectory(ingraphs)
 add_subdirectory(label)
 add_subdirectory(pack)
 add_subdirectory(patchwork)
diff --git a/lib/ingraphs/CMakeLists.txt b/lib/ingraphs/CMakeLists.txt
new file mode 100644 (file)
index 0000000..547b97c
--- /dev/null
@@ -0,0 +1,13 @@
+include_directories(
+    ${CMAKE_CURRENT_SOURCE_DIR}
+    ${GRAPHVIZ_LIB_DIR}/cdt
+    ${GRAPHVIZ_LIB_DIR}/cgraph
+)
+
+add_library(ingraphs STATIC
+    # Header files
+    ingraphs.h
+
+    # Source files
+    ingraphs.c
+)