[llvm] r197590 - [CMake] Don't put every project's tblgen executable in the LLVM bin directory.

Jordan Rose jordan_rose at apple.com
Wed Dec 18 09:50:33 PST 2013


Author: jrose
Date: Wed Dec 18 11:50:33 2013
New Revision: 197590

URL: http://llvm.org/viewvc/llvm-project?rev=197590&view=rev
Log:
[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.

Modified:
    llvm/trunk/cmake/modules/TableGen.cmake

Modified: llvm/trunk/cmake/modules/TableGen.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/TableGen.cmake?rev=197590&r1=197589&r2=197590&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/TableGen.cmake (original)
+++ llvm/trunk/cmake/modules/TableGen.cmake Wed Dec 18 11:50:33 2013
@@ -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})





More information about the llvm-commits mailing list