Expand description
A thin wrapper around the llvm-config
tool so you can call it from Rust.
This is mainly intended as a tool for build scripts which need to use LLVM but don’t want to manually parse the output and handle errors every time.
Enums§
- Error
- An error that may occur while trying to use
llvm-config
.
Functions§
- bin_dir
- Directory containing LLVM executables.
- c_flags
- C compiler flags for files that include LLVM headers.
- cmake_
dir - Directory containing LLVM cmake modules.
- components
- List of all possible components.
- cpp_
flags - C preprocessor flags for files that include LLVM headers.
- cxx_
flags - C++ compiler flags for files that include LLVM headers.
- include_
dir - Directory containing LLVM headers.
- ldflags
- Print Linker flags.
- lib_dir
- Directory containing LLVM libraries.
- libfiles
- Fully qualified library filenames for makefile depends.
- libnames
- Bare library names for in-tree builds.
- libs
- Libraries needed to link against LLVM components.
- obj_
root - Print the object root used to build LLVM.
- prefix
- Print the installation prefix.
- src_
root - Print the source root LLVM was built from.
- system_
libs - System Libraries needed to link against LLVM components.
- version
- Print LLVM version.