[PATCH] Expose LLVM build flags in LLVMConfig.cmake
brad.king at kitware.com
Mon Jul 21 07:00:54 PDT 2014
On 07/21/2014 09:28 AM, Dan Liew wrote:
> I had another quick look at this. It seems there are
> - INTERFACE_COMPILE_OPTIONS
> - INTERFACE_COMPILE_DEFINITIONS
> properties on Targets. Am I right in understanding that if these were
> set on targets and then exported that these properties would persist?
They persist and propagate, but this only works with the last few CMake
releases, not with 2.8.8 which is currently the minimum required version.
> The reason I ask is that I suspect flags ABI compatibility may be
> required on a target by target basis.
That is a good application for usage requirements. See
More information about the llvm-commits