Files
mruby-mruby/src/CMakeLists.txt
T
Jon 6f4eda7401 Simplify CMake mruby object library
Also removes an unnecessary build target from the CMake generated
build and project files.
2012-05-27 20:27:11 -04:00

12 lines
310 B
CMake

# 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