llvm.org GIT mirror llvm / f3a83d6
cmake: Add xdot.py support as it already exists in autoconf. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126563 91177308-0d34-0410-b5e6-96231b3b80d8 Tobias Grosser 8 years ago
3 changed file(s) with 7 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
223223 # available programs checks
224224 function(llvm_find_program name)
225225 string(TOUPPER ${name} NAME)
226 string(REGEX REPLACE "\\." "_" NAME ${NAME})
226227 find_program(LLVM_PATH_${NAME} ${name})
227228 mark_as_advanced(LLVM_PATH_${NAME})
228229 if(LLVM_PATH_${NAME})
240241 llvm_find_program(fdp)
241242 llvm_find_program(dot)
242243 llvm_find_program(dotty)
244 llvm_find_program(xdot.py)
243245
244246 if( LLVM_ENABLE_FFI )
245247 find_path(FFI_INCLUDE_PATH ffi.h PATHS ${FFI_INCLUDE_DIR})
452452 #cmakedefine HAVE_WRITEV ${HAVE_WRITEV}
453453
454454 /* Define if the xdot.py program is available */
455 #undef HAVE_XDOT_PY
455 #cmakedefine HAVE_XDOT_PY ${HAVE_XDOT_PY}
456456
457457 /* Have host's _alloca */
458458 #cmakedefine HAVE__ALLOCA ${HAVE__ALLOCA}
584584 #cmakedefine LLVM_PATH_TWOPI "${LLVM_PATH_TWOPI}"
585585
586586 /* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */
587 #undef LLVM_PATH_XDOT_PY
587 #cmakedefine LLVM_PATH_XDOT_PY "${LLVM_PATH_XDOT_PY}"
588588
589589 /* Installation prefix directory */
590590 #cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
9090 /* Define to path to twopi program if found or 'echo twopi' otherwise */
9191 #cmakedefine LLVM_PATH_TWOPI "${LLVM_PATH_TWOPI}"
9292
93 /* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */
94 #cmakedefine LLVM_PATH_XDOT_PY "${LLVM_PATH_XDOT.PY}"
95
9396 /* Installation prefix directory */
9497 #cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
9598