[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 03:49:58 PDT 2014


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Document-the-new-LLVM-CMake-interface-for-building-a.patch
Type: text/x-patch
Size: 9826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140723/6a7bcbd5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Emit-a-warning-if-llvm_map_components_to_libraries-n.patch
Type: text/x-patch
Size: 1161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140723/6a7bcbd5/attachment-0001.bin>


More information about the llvm-commits mailing list