[PATCH] Document new LLVM CMake interface and emit warning when using llvm_map_components_to_libraries

Dan Liew dan at su-root.co.uk
Wed Jul 23 05:06:41 PDT 2014


Sorry also CC'ing Takumi

also I meant to say

"...by default so most people would **not** see the warning so I used
message(AUTHOR_WARNING) instead".



On 23 July 2014 11:49, Dan Liew <dan at su-root.co.uk> wrote:
> Hi,
>
> Here are my patches to document the LLVM CMake interface and also warn
> developers when using the old interface.
>
> For the 0002 patch I wanted to use message(DEPRECATION "msg") but it
> seems that CMAKE_ERROR_DEPRECATED and CMAKE_WARNING_DEPRECATED are off
> by default so most people would see the warning so I used
> message(AUTHOR_WARNING ) instead.
>
> Hopefully these will be the last of my patches related to the LLVM
> CMake interface. Once these are approved I'll look into getting them
> into the LLVM 3.5 release branch.
>
> Thanks,
> Dan.



-- 
Dan Liew
PhD Student - Imperial College London



More information about the llvm-commits mailing list