diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-09-13 17:52:38 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-09-13 17:52:38 +0000 |
commit | becf392e3bff4e547789633b4ad095b49e93684e (patch) | |
tree | a94b1dac8c5de748c9c8a96b309353ab8f9883aa | |
parent | f713384be52aae0ec1d0f19618f71cc345acb1f9 (diff) | |
download | external_llvm-becf392e3bff4e547789633b4ad095b49e93684e.zip external_llvm-becf392e3bff4e547789633b4ad095b49e93684e.tar.gz external_llvm-becf392e3bff4e547789633b4ad095b49e93684e.tar.bz2 |
CMake: Add llvm-lit to CMake build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113762 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | utils/llvm-lit/CMakeLists.txt | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a3057d..6fbaa5d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -311,6 +311,7 @@ add_subdirectory(test) add_subdirectory(utils/FileCheck) add_subdirectory(utils/count) add_subdirectory(utils/not) +add_subdirectory(utils/llvm-lit) set(LLVM_ENUM_ASM_PRINTERS "") set(LLVM_ENUM_ASM_PARSERS "") diff --git a/utils/llvm-lit/CMakeLists.txt b/utils/llvm-lit/CMakeLists.txt new file mode 100644 index 0000000..602cc88 --- /dev/null +++ b/utils/llvm-lit/CMakeLists.txt @@ -0,0 +1,12 @@ +configure_file( + llvm-lit.in + ${LLVM_TOOLS_BINARY_DIR}/llvm-lit + ) + +install(FILES + ${LLVM_TOOLS_BINARY_DIR}/llvm-lit + DESTINATION bin + PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE + GROUP_READ GROUP_EXECUTE + WORLD_READ WORLD_EXECUTE + ) |