]> granicus.if.org Git - graphviz/commitdiff
Decapitalize CMake option variables
authorErwin Janssen <erwinjanssen@outlook.com>
Tue, 24 Jan 2017 11:25:22 +0000 (12:25 +0100)
committerErwin Janssen <erwinjanssen@outlook.com>
Tue, 24 Jan 2017 11:25:22 +0000 (12:25 +0100)
The options that can be passed to configure the CMake build, are now in
lower case, similar to the Autotools build.

CMakeLists.txt
lib/ortho/CMakeLists.txt
lib/sfdpgen/CMakeLists.txt
lib/vpsc/CMakeLists.txt

index db69a8bdeef03ae629f36b83e6962c62549843f7..5c1a762079b233a2e95b332b89e2c652a4b6de74 100644 (file)
@@ -3,17 +3,17 @@ project (Graphviz)
 
 # 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
 # ===================================
index 2cef8c314094cee424c9168715d79ec1eb529282..8e9407d6f9a420cc76a98e8e2c275552f04cf93a 100644 (file)
@@ -1,4 +1,4 @@
-if (WITH_ORTHO)
+if (with_ortho)
 
 add_definitions(-D_BLD_gvc=1)
 
@@ -34,4 +34,4 @@ add_library(ortho STATIC
     trapezoid.c
 )
 
-endif (WITH_ORTHO)
\ No newline at end of file
+endif (with_ortho)
\ No newline at end of file
index 97b7c19e384fa6e40318a7611c526a4d5c09f96a..73e6a0ff6c320ab60235b3e8226c689abfe29a7a 100644 (file)
@@ -1,4 +1,4 @@
-if (WITH_SFDP)
+if (with_sfdp)
 
 include_directories(
     ${CMAKE_CURRENT_SOURCE_DIR}
@@ -36,4 +36,4 @@ add_library(sfdpgen STATIC
     uniform_stress.c
 )
 
-endif (WITH_SFDP)
\ No newline at end of file
+endif (with_sfdp)
\ No newline at end of file
index 9c23a1e76ac9292ccf974ef262d8a927b4db2fa0..fa485888fb0a7b9231a7c0fe58bc08c3dd939612 100644 (file)
@@ -1,4 +1,4 @@
-if (WITH_IPSEPCOLA)
+if (with_ipsepcola)
 
 include_directories(
     ${CMAKE_CURRENT_SOURCE_DIR}
@@ -29,4 +29,4 @@ add_library(vpsc STATIC
     variable.cpp
 )
 
-endif (WITH_IPSEPCOLA)
\ No newline at end of file
+endif (with_ipsepcola)
\ No newline at end of file