The static library 'vpsc' has no dependencies, but the `WITH_IPSEPCOLA`
option had to be added, for this is also done in the Autotools build. This
library is disabled by default due to C++ portability issues.
# Build options
# =============
+option(WITH_IPSEPCOLA "IPSEPCOLA features in neato layout engine (disabled by default - C++ portability issues)." OFF )
option(WITH_ORTHO "ORTHO features in neato layout engine." ON )
# Append local CMake module directory
add_subdirectory(spine)
add_subdirectory(twopigen)
add_subdirectory(vmalloc)
+add_subdirectory(vpsc)
add_subdirectory(xdot)
# Dependent on: cdt
--- /dev/null
+if (WITH_IPSEPCOLA)
+
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+add_library(vpsc STATIC
+ # Header files
+ block.h
+ blocks.h
+ constraint.h
+ csolve_VPSC.h
+ generate-constraints.h
+ pairingheap/PairingHeap.h
+ pairingheap/dsexceptions.h
+ remove_rectangle_overlap.h
+ solve_VPSC.h
+ variable.h
+
+ # Source files
+ block.cpp
+ blocks.cpp
+ constraint.cpp
+ csolve_VPSC.cpp
+ generate-constraints.cpp
+ pairingheap/PairingHeap.cpp
+ remove_rectangle_overlap.cpp
+ solve_VPSC.cpp
+ variable.cpp
+)
+
+endif (WITH_IPSEPCOLA)
\ No newline at end of file