CMake: Add llvm-lit to CMake build.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Mon, 13 Sep 2010 17:52:38 +0000 (17:52 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Mon, 13 Sep 2010 17:52:38 +0000 (17:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113762 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt
utils/llvm-lit/CMakeLists.txt [new file with mode: 0644]

index 1a3057d4af0b8ca401f702b0c0c895170caa09a9..6fbaa5d45496a1560e00365703647e5febf4f2f5 100644 (file)
@@ -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 (file)
index 0000000..602cc88
--- /dev/null
@@ -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
+  )