[llvm-commits] [llvm] r59333 - /llvm/trunk/tools/llvmc2/driver/CMakeLists.txt
Oscar Fuentes
ofv at wanadoo.es
Fri Nov 14 15:59:50 PST 2008
Author: ofv
Date: Fri Nov 14 17:59:50 2008
New Revision: 59333
URL: http://llvm.org/viewvc/llvm-project?rev=59333&view=rev
Log:
CMake: Remove unused tablegenning code from tools/llvmc2/driver.
Modified:
llvm/trunk/tools/llvmc2/driver/CMakeLists.txt
Modified: llvm/trunk/tools/llvmc2/driver/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc2/driver/CMakeLists.txt?rev=59333&r1=59332&r2=59333&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc2/driver/CMakeLists.txt (original)
+++ llvm/trunk/tools/llvmc2/driver/CMakeLists.txt Fri Nov 14 17:59:50 2008
@@ -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)
More information about the llvm-commits
mailing list