Build script on PSP, Dolphin and Engine.

This commit is contained in:
2026-04-28 21:34:09 -05:00
parent 194255bffe
commit bd248ee91c
12 changed files with 367 additions and 1883 deletions
+7 -3
View File
@@ -14,8 +14,8 @@ set(ENABLE_LTO OFF CACHE BOOL "" FORCE)
include(FetchContent)
FetchContent_Declare(
jerryscript
GIT_REPOSITORY https://github.com/jerryscript-project/jerryscript.git
GIT_TAG v3.0.0
GIT_REPOSITORY https://git.wish.moe/YourWishes/jerryscript
GIT_TAG float32-fix
)
FetchContent_MakeAvailable(jerryscript)
@@ -64,6 +64,10 @@ foreach(tgt IN ITEMS
)
if(TARGET ${tgt})
set_property(TARGET ${tgt} PROPERTY INTERPROCEDURAL_OPTIMIZATION OFF)
target_compile_definitions(${JERRY_CORE_TARGET} PRIVATE
JERRY_NUMBER_TYPE_FLOAT64=0
JERRY_BUILTIN_DATE=0
)
endif()
endforeach()
@@ -83,7 +87,7 @@ target_include_directories(${JERRY_PORT_TARGET} INTERFACE
# Suppress JerryScript-only warning
if(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang")
target_compile_options(${JERRY_CORE_TARGET} PRIVATE
-Wno-error=unterminated-string-initialization
-Wno-error
)
endif()