a user has path to clang binaries, If not I want to use some global directory.
I'm using something like: LLVM_BIN_DIR=$(dir $(shell which lld)). I don't know how can I know that "which" didn't find lld and we should use global installation.
Thanks in advance.
you should be using cmake
Yes. But I'm using Makefile.
Обсуждают сегодня