aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2008-11-14 23:59:50 +0000
committerOscar Fuentes <ofv@wanadoo.es>2008-11-14 23:59:50 +0000
commit2833f59cad691e9679f6c5946fa630f1bef5b89a (patch)
treee4ac910452c6fc22da20de5e8aa7f6fa34afc0c9 /tools
parent229de95eabb7f5350a42152eab8c4c8643cdd0bf (diff)
downloadexternal_llvm-2833f59cad691e9679f6c5946fa630f1bef5b89a.zip
external_llvm-2833f59cad691e9679f6c5946fa630f1bef5b89a.tar.gz
external_llvm-2833f59cad691e9679f6c5946fa630f1bef5b89a.tar.bz2
CMake: Remove unused tablegenning code from tools/llvmc2/driver.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvmc2/driver/CMakeLists.txt22
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/llvmc2/driver/CMakeLists.txt b/tools/llvmc2/driver/CMakeLists.txt
index 6a7a2a8..7d4e967 100644
--- a/tools/llvmc2/driver/CMakeLists.txt
+++ b/tools/llvmc2/driver/CMakeLists.txt
@@ -1,31 +1,9 @@
set(LLVM_LINK_COMPONENTS support system)
set(LLVM_REQUIRES_EH 1)
-macro(tgen ofn)
- add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${ofn}
- COMMAND ${LLVM_TABLEGEN} ${ARGN} -I ${CMAKE_CURRENT_SOURCE_DIR} -I ${CMAKE_SOURCE_DIR}/lib/Target -I ${LLVM_MAIN_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/Graph.td -o ${ofn}
- DEPENDS
- tblgen
- ${LLVM_MAIN_INCLUDE_DIR}/llvm/CompilerDriver/Common.td
- ${LLVM_MAIN_INCLUDE_DIR}/llvm/CompilerDriver/Tools.td
- COMMENT "Building ${ofn}..."
- )
-endmacro(tgen ofn)
-
-# tgen(AutoGenerated.inc -gen-llvmc)
-
-# add_custom_target(AutoGenerated_ct echo Tablegenning
-# DEPENDS
-# ${CMAKE_CURRENT_BINARY_DIR}/AutoGenerated.inc
-# )
-
-include_directories( ${CMAKE_CURRENT_BINARY_DIR} )
-
add_llvm_tool(llvmc2
Action.cpp
CompilationGraph.cpp
llvmc.cpp
Plugin.cpp
)
-
-# add_dependencies(llvmc2 AutoGenerated_ct)