From becf392e3bff4e547789633b4ad095b49e93684e Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Mon, 13 Sep 2010 17:52:38 +0000 Subject: [PATCH] CMake: Add llvm-lit to CMake build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113762 91177308-0d34-0410-b5e6-96231b3b80d8 --- CMakeLists.txt | 1 + utils/llvm-lit/CMakeLists.txt | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 utils/llvm-lit/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a3057d4af0..6fbaa5d4549 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 00000000000..602cc881cd5 --- /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 + )