better call template & move to include/murbypp dir & fix test namepsace
Some checks failed
ubuntu / Explore-Gitea-Actions (push) Failing after 1m47s

This commit is contained in:
2025-10-22 23:30:54 +08:00
parent 75caef3bd2
commit e38f5850d3
8 changed files with 108 additions and 94 deletions

View File

@@ -14,13 +14,12 @@ if (MSVC)
endif ()
add_library(mrubypp INTERFACE
engine.h
converters.h
arena_guard.h
bind_class.h)
include/mrubypp/engine.h
include/mrubypp/converters.h
include/mrubypp/arena_guard.h
include/mrubypp/bind_class.h)
include_directories(${CMAKE_CURRENT_LIST_DIR})
target_include_directories(mrubypp INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
if (${MRUBYPP_BUILD_TEST})
if (NOT DEFINED mruby_ROOT)