summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/modules/TableGen.cmake
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2014-01-02 16:30:55 +0000
committerDouglas Gregor <dgregor@apple.com>2014-01-02 16:30:55 +0000
commitdf34b13e9fc7fedfa86d040a027730a28f662e2e (patch)
tree9cf16491ee80d9d580543d99a3080004e4fbd676 /llvm/cmake/modules/TableGen.cmake
parent05ae744813633894c6cfece12cf98a9ef2812613 (diff)
downloadbcm5719-llvm-df34b13e9fc7fedfa86d040a027730a28f662e2e.tar.gz
bcm5719-llvm-df34b13e9fc7fedfa86d040a027730a28f662e2e.zip
Remove CMake-Xcode hack that symlinked llvm-config into a common place.
When building Clang separately from LLVM with CMake, one should set the path of llvm-config via the cache variable LLVM_CONFIG. llvm-svn: 198316
Diffstat (limited to 'llvm/cmake/modules/TableGen.cmake')
-rw-r--r--llvm/cmake/modules/TableGen.cmake10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/cmake/modules/TableGen.cmake b/llvm/cmake/modules/TableGen.cmake
index ec4252e6040..8c1f18c4e93 100644
--- a/llvm/cmake/modules/TableGen.cmake
+++ b/llvm/cmake/modules/TableGen.cmake
@@ -84,16 +84,6 @@ macro(add_tablegen target project)
add_llvm_utility(${target} ${ARGN})
set(LLVM_LINK_COMPONENTS ${${target}_OLD_LLVM_LINK_COMPONENTS})
- # For Xcode builds, symlink bin/<target> to bin/<Config>/<target> so that
- # a separately-configured Clang project can still find llvm-tblgen.
- if (XCODE)
- add_custom_target(${target}-top ALL
- ${CMAKE_COMMAND} -E create_symlink
- ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}/${target}${CMAKE_EXECUTABLE_SUFFIX}
- ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${target}${CMAKE_EXECUTABLE_SUFFIX}
- DEPENDS ${target})
- endif ()
-
set(${project}_TABLEGEN "${target}" CACHE
STRING "Native TableGen executable. Saves building one when cross-compiling.")
OpenPOWER on IntegriCloud