[CMake] Don't put every project's tblgen executable in the LLVM bin directory.
authorJordan Rose <jordan_rose@apple.com>
Wed, 18 Dec 2013 17:50:33 +0000 (17:50 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 18 Dec 2013 17:50:33 +0000 (17:50 +0000)
This changes Clang standalone builds so that clang-tblgen lives in
clang/build/bin instead of llvm/build/bin, and so that with the Xcode
generator it's in clang/build/bin/Debug instead of llvm/build/bin/Debug/Debug/.
Yes, really.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197590 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/TableGen.cmake

index bc25a73b113ffa89f2be676add1cdc465d82eded..ec4252e604062e8ad7eb9d2ff072a25616d3d7cf 100644 (file)
@@ -79,8 +79,6 @@ if(CMAKE_CROSSCOMPILING)
 endif()
 
 macro(add_tablegen target project)
-  set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LLVM_TOOLS_BINARY_DIR})
-
   set(${target}_OLD_LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS})
   set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} TableGen)
   add_llvm_utility(${target} ${ARGN})