Lines Matching refs:mruby
35 # EXTRA_DIST = build_config.rb mruby/*
37 set(MRUBY_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}/mruby/build")
39 "${CMAKE_STATIC_LIBRARY_PREFIX}mruby${CMAKE_STATIC_LIBRARY_SUFFIX}"
42 # The mruby build needs some env vars. Alternatively, look at cmake -P
50 # invoke 'ninja mruby' before building dependents.
54 set(_byproducts BYPRODUCTS "mruby/build/lib/${MRUBY_LIBRARY}")
56 add_custom_target(mruby target
62 "${CMAKE_CURRENT_SOURCE_DIR}/mruby/minirake"
63 -f "${CMAKE_CURRENT_SOURCE_DIR}/mruby/Rakefile"
68 # Make the mruby library available to others in this project without them
69 # having to worry about include dirs and the mruby location.
70 add_library(mruby-lib STATIC IMPORTED GLOBAL)
71 set_target_properties(mruby-lib PROPERTIES
73 INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}/mruby/include"
75 add_dependencies(mruby-lib mruby)
78 ADDITIONAL_MAKE_CLEAN_FILES mruby/build