From a229b3c9a78a54d73b9188f729f6dc4a0412ca0b Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Mon, 22 Sep 2008 01:08:49 +0000 Subject: Initial support for the CMake build system. llvm-svn: 56419 --- llvm/lib/AsmParser/CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 llvm/lib/AsmParser/CMakeLists.txt (limited to 'llvm/lib/AsmParser') diff --git a/llvm/lib/AsmParser/CMakeLists.txt b/llvm/lib/AsmParser/CMakeLists.txt new file mode 100644 index 00000000000..c12f414d8ed --- /dev/null +++ b/llvm/lib/AsmParser/CMakeLists.txt @@ -0,0 +1,15 @@ +# 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 + ) -- cgit v1.2.3