mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
This patch adds a preprocessor that can expand nested for-loops for saving some copy-n-paste in *.td files. The preprocessor is not yet integrated with TGParser, and so it has no direct effect on *.td inputs. However, you may preprocess an td input (and only preprocess it). To test the proprecessor, type: tblgen -E -o $@ $< git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141079 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
324 B
CMake
18 lines
324 B
CMake
## FIXME: This only requires RTTI because tblgen uses it. Fix that.
|
|
set(LLVM_REQUIRES_RTTI 1)
|
|
set(LLVM_REQUIRES_EH 1)
|
|
|
|
add_llvm_library(LLVMTableGen
|
|
Error.cpp
|
|
Main.cpp
|
|
Record.cpp
|
|
TableGenBackend.cpp
|
|
TGLexer.cpp
|
|
TGParser.cpp
|
|
TGPreprocessor.cpp
|
|
)
|
|
|
|
add_llvm_library_dependencies(LLVMTableGen
|
|
LLVMSupport
|
|
)
|