From: Jordan Rose Date: Wed, 18 Dec 2013 17:50:33 +0000 (+0000) Subject: [CMake] Don't put every project's tblgen executable in the LLVM bin directory. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=25acded1b0e35c4996bc70c27ce75f1733da2d6a;p=oota-llvm.git [CMake] Don't put every project's tblgen executable in the LLVM bin directory. 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 --- diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake index bc25a73b113..ec4252e6040 100644 --- a/cmake/modules/TableGen.cmake +++ b/cmake/modules/TableGen.cmake @@ -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})