mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
0f25988689
llvm-svn: 56419
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
|
|
)
|