[llvm-commits] [PATCH][CMake] Adding support for find_package().

arrowdodger 6yearold at gmail.com
Thu Apr 7 08:51:42 PDT 2011


This patch do following things:

- Renames LLVM.cmake to LLVMConfig.cmake so it can be picked up by
find_package() call.
- Adds into LLVMConfig.cmake some more export variables.
- Adds new file LLVMConfigVersion.cmake to be processed by find_package().
- Reflects renaming in cmake/modules/CMakeLists.txt.

There are two comments "#remove this?"
1. In CMakeLists.txt:36.
    install() installs the same files as install above. Looks like leftover
from earlier code refactoring.

2. In LLVMConfig.cmake.in:3.
    This var now is duplicating LLVMConfigVersion.cmake.

Also, attaching patch to clang CMakeLists.txt.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110407/a8b0fe3f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm.patch
Type: text/x-patch
Size: 3827 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110407/a8b0fe3f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang.patch
Type: text/x-patch
Size: 449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110407/a8b0fe3f/attachment-0001.bin>


More information about the llvm-commits mailing list