how to convert LLVM clang++ command line to cmake config?
问题 I'm building a LLVM language with some tutorials. In a situation, there are command with: clang++ -g main.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core orcjit native` -O3 -o toy here a command llvm-config --cxxflags --ldflags --system-libs --libs core orcjit native which can expand to: -I/usr/local/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing