# ================================= graphml2gv =================================
if(EXPAT_FOUND)
-add_executable(graphml2gv
- # Source files
- graphml2gv.c
-)
+ add_executable(graphml2gv
+ # Source files
+ graphml2gv.c
+ )
-target_include_directories(graphml2gv PRIVATE
- ${GRAPHVIZ_LIB_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_CURRENT_BINARY_DIR}
- ${GRAPHVIZ_LIB_DIR}/cdt
- ${GRAPHVIZ_LIB_DIR}/cgraph
- ${GRAPHVIZ_LIB_DIR}/common
- ${GRAPHVIZ_LIB_DIR}/gvc
- ${GRAPHVIZ_LIB_DIR}/pack
- ${GRAPHVIZ_LIB_DIR}/pathplan
- ${EXPAT_INCLUDE_DIRS}
- ${GETOPT_INCLUDE_DIRS}
-)
+ target_include_directories(graphml2gv PRIVATE
+ ${GRAPHVIZ_LIB_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${GRAPHVIZ_LIB_DIR}/cdt
+ ${GRAPHVIZ_LIB_DIR}/cgraph
+ ${GRAPHVIZ_LIB_DIR}/common
+ ${GRAPHVIZ_LIB_DIR}/gvc
+ ${GRAPHVIZ_LIB_DIR}/pack
+ ${GRAPHVIZ_LIB_DIR}/pathplan
+ ${EXPAT_INCLUDE_DIRS}
+ ${GETOPT_INCLUDE_DIRS}
+ )
-target_link_libraries(graphml2gv
- cgraph
- ${EXPAT_LIBRARIES}
-)
+ target_link_libraries(graphml2gv
+ cgraph
+ ${EXPAT_LIBRARIES}
+ )
-tool_defaults(graphml2gv)
+ tool_defaults(graphml2gv)
endif()
# =================================== gxl2gv ===================================
if(EXPAT_FOUND)
-add_executable(gxl2gv
- # Source files
- cvtgxl.c
- gv2gxl.c
- gxl2gv.c
-)
+ add_executable(gxl2gv
+ # Source files
+ cvtgxl.c
+ gv2gxl.c
+ gxl2gv.c
+ )
-target_include_directories(gxl2gv PRIVATE
- ${GRAPHVIZ_LIB_DIR}
- ${CMAKE_CURRENT_SOURCE_DIR}
- ${CMAKE_CURRENT_BINARY_DIR}
- ${GRAPHVIZ_LIB_DIR}/cdt
- ${GRAPHVIZ_LIB_DIR}/cgraph
- ${GRAPHVIZ_LIB_DIR}/common
- ${GRAPHVIZ_LIB_DIR}/gvc
- ${GRAPHVIZ_LIB_DIR}/pack
- ${GRAPHVIZ_LIB_DIR}/pathplan
- ${EXPAT_INCLUDE_DIRS}
- ${GETOPT_INCLUDE_DIRS}
-)
+ target_include_directories(gxl2gv PRIVATE
+ ${GRAPHVIZ_LIB_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${GRAPHVIZ_LIB_DIR}/cdt
+ ${GRAPHVIZ_LIB_DIR}/cgraph
+ ${GRAPHVIZ_LIB_DIR}/common
+ ${GRAPHVIZ_LIB_DIR}/gvc
+ ${GRAPHVIZ_LIB_DIR}/pack
+ ${GRAPHVIZ_LIB_DIR}/pathplan
+ ${EXPAT_INCLUDE_DIRS}
+ ${GETOPT_INCLUDE_DIRS}
+ )
-target_link_libraries(gxl2gv
- cgraph
- gvc
- ingraphs
- ${EXPAT_LIBRARIES}
-)
+ target_link_libraries(gxl2gv
+ cgraph
+ gvc
+ ingraphs
+ ${EXPAT_LIBRARIES}
+ )
-tool_defaults(gxl2gv)
+ tool_defaults(gxl2gv)
endif()