The options that can be passed to configure the CMake build, are now in
lower case, similar to the Autotools build.
# 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 )
-option(WITH_SFDP "sfdp layout engine." ON )
+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 )
+option(with_sfdp "sfdp layout engine." ON )
-if (WITH_ORTHO)
+if (with_ortho)
add_definitions(-DORTHO)
-endif (WITH_ORTHO)
+endif (with_ortho)
-if (WITH_SFDP)
+if (with_sfdp)
add_definitions(-DSFDP)
-endif (WITH_SFDP)
+endif (with_sfdp)
# Append local CMake module directory
# ===================================
-if (WITH_ORTHO)
+if (with_ortho)
add_definitions(-D_BLD_gvc=1)
trapezoid.c
)
-endif (WITH_ORTHO)
\ No newline at end of file
+endif (with_ortho)
\ No newline at end of file
-if (WITH_SFDP)
+if (with_sfdp)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
uniform_stress.c
)
-endif (WITH_SFDP)
\ No newline at end of file
+endif (with_sfdp)
\ No newline at end of file
-if (WITH_IPSEPCOLA)
+if (with_ipsepcola)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
variable.cpp
)
-endif (WITH_IPSEPCOLA)
\ No newline at end of file
+endif (with_ipsepcola)
\ No newline at end of file