This commit is contained in:
DepressedTWM 2026-06-28 12:12:24 +04:00
parent 206197c1a8
commit 801531cbb4
7 changed files with 3 additions and 23 deletions

View file

@ -153,6 +153,7 @@ elseif(BSD)
set(MODLOADER OFF)
elseif(EMSCRIPTEN)
set(STEAM OFF)
set(MODLOADER OFF)
set(CMAKE_EXECUTABLE_SUFFIX ".html" CACHE INTERNAL "")
elseif(APPLE)
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD COMMAND cmake -P "${CMAKE_SOURCE_DIR}/patches/mac/CompleteBundle.cmake" VERBATIM)
@ -322,7 +323,7 @@ source_group("Binding Source" FILES ${BINDING_SOURCE} ${BINDING_HEADERS})
set(CMAKE_CXX_STANDARD 23)
if(ANDROID)
add_executable(${PROJECT_NAME} MACOSX_BUNDLE WIN32
add_library(main SHARED
${MAIN_HEADERS}
${MAIN_SOURCE}
${BINDING_HEADERS}
@ -330,7 +331,7 @@ if(ANDROID)
${EMBEDDED_SOURCE}
)
else()
add_library(main SHARED
add_executable(${PROJECT_NAME} MACOSX_BUNDLE WIN32
${MAIN_HEADERS}
${MAIN_SOURCE}
${BINDING_HEADERS}

View file

@ -1,6 +0,0 @@
MRuby::Gem::Specification.new('core') do |spec|
spec.license = 'GPLv2'
spec.summary = "Bindings for MKXP engine itself"
spec.objs = Dir.glob("#{dir}/src/*.{c,cpp,m,asm,S}").map { |f| objfile(f.relative_path_from(dir).pathmap("#{build_dir}/%X")) }
end

View file

@ -1 +0,0 @@
nothing here for now

View file

@ -1,6 +0,0 @@
MRuby::Gem::Specification.new('oneshot') do |spec|
spec.license = 'GPLv2'
spec.summary = "Bindings for OneShot"
spec.objs = Dir.glob("#{dir}/src/*.{c,cpp,m,asm,S}").map { |f| objfile(f.relative_path_from(dir).pathmap("#{build_dir}/%X")) }
end

View file

@ -1 +0,0 @@
nothing here for now

View file

@ -1,6 +0,0 @@
MRuby::Gem::Specification.new('sunshine') do |spec|
spec.license = 'GPLv2'
spec.summary = "Bindings for Oneshot: Sunshine"
spec.objs = Dir.glob("#{dir}/src/*.{c,cpp,m,asm,S}").map { |f| objfile(f.relative_path_from(dir).pathmap("#{build_dir}/%X")) }
end

View file

@ -1 +0,0 @@
nothing here for now