I have searched the tutorial that I can use the command line to try : clang -emit-llvm -o file.bc
but how to write it in the cmakelists. I have to get all of bitcode file from the source code files.
Several options possible:
set ( CMAKE_C_FLAGS "-emit-llvm")
llc
.ld.lld