[PATCH] Expose LLVM build flags in LLVMConfig.cmake

Brad King brad.king at kitware.com
Fri Jul 18 11:19:47 PDT 2014


On 07/18/2014 02:13 PM, Dan Liew wrote:
> Would you suggest reading the compile flags from a target

CMake provides no interface for reading at configuration time
what flags the generator will produce later.

> Or are you suggesting a hard coded list that we put into
> LLVMConfig.cmake?

Somewhere there is code that says "if the compiler/platform
is X then add flag Y that affects the ABI".  Any place like
that should also add flag Y to a list that is later used
to put in LLVMConfig.cmake.

-Brad




More information about the llvm-commits mailing list