mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-03 14:08:57 +00:00
3d01fc7de8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56419 91177308-0d34-0410-b5e6-96231b3b80d8
16 lines
372 B
CMake
16 lines
372 B
CMake
# AsmParser, with a Bison generated parser:
|
|
include(FindBison)
|
|
find_bison()
|
|
bison_generator(
|
|
"llvmAsm"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/llvmAsmParser.y"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/llvmAsmParser.h"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/llvmAsmParser.cpp"
|
|
)
|
|
|
|
add_llvm_library(LLVMAsmParser
|
|
llvmAsmParser.cpp # Generated from llvmAsmParser.y
|
|
LLLexer.cpp
|
|
Parser.cpp
|
|
)
|