Skip to content

Commit

Permalink
[CMake] Don't put every project's tblgen executable in the LLVM bin d…
Browse files Browse the repository at this point in the history
…irectory.

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
  • Loading branch information
jrose-apple committed Dec 18, 2013
1 parent 0f040da commit 25acded
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmake/modules/TableGen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 25acded

Please sign in to comment.