Get various configuration information needed to compile programs which use LLVM. Typically called from build systems, like in Makefiles or configure scripts. More information: https://llvm.org/docs/CommandGuide/llvm-config.html.
clang++ $(llvm-config --cxxflags --ldflags --libs) --output path/to/output_executable path/to/source.cc
PREFIX
of your LLVM installation:llvm-config --prefix
llvm-config --targets-built