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

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

index 137102b32b8810287b15fd2af6a91cd77f680df6..bee6281a5152df34276c3b5a305e0ed6af19dddf 100644 (file)
@@ -5,6 +5,7 @@ add_subdirectory(dotgen)
 add_subdirectory(fdpgen)
 add_subdirectory(ingraphs)
 add_subdirectory(label)
+add_subdirectory(osage)
 add_subdirectory(pack)
 add_subdirectory(patchwork)
 add_subdirectory(pathplan)
diff --git a/lib/osage/CMakeLists.txt b/lib/osage/CMakeLists.txt
new file mode 100644 (file)
index 0000000..b2e61ab
--- /dev/null
@@ -0,0 +1,21 @@
+include_directories(
+    ${CMAKE_CURRENT_SOURCE_DIR}
+    ${GRAPHVIZ_LIB_DIR}/cdt
+    ${GRAPHVIZ_LIB_DIR}/cgraph
+    ${GRAPHVIZ_LIB_DIR}/common
+    ${GRAPHVIZ_LIB_DIR}/fdpgen
+    ${GRAPHVIZ_LIB_DIR}/gvc
+    ${GRAPHVIZ_LIB_DIR}/neatogen
+    ${GRAPHVIZ_LIB_DIR}/pack
+    ${GRAPHVIZ_LIB_DIR}/pathplan
+    ${GRAPHVIZ_LIB_DIR}/sfdpgen
+    ${GRAPHVIZ_LIB_DIR}/sparse
+)
+
+add_library(osage STATIC
+    # Header files
+    osage.h
+
+    # Source files
+    osageinit.c
+)