summaryrefslogtreecommitdiffhomepage
path: root/src/CMakeLists.txt
blob: 4a6aeee2cd2f70773418dc1f045f258a0168cfb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
# build the core mruby C files

find_package(BISON)
bison_target(mruby parse.y "${CMAKE_CURRENT_BINARY_DIR}/parse.c")

file(GLOB MRUBY_SRC_C "*.c")
list(APPEND MRUBY_SRC_C "${CMAKE_CURRENT_BINARY_DIR}/parse.c")

add_library(mruby_object OBJECT ${MRUBY_SRC_C} ${BISON_mruby_OUTPUTS})

# vim: ts=2 sts=2 sw=2 et