mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Move emscripten web shell to src
This commit is contained in:
@ -8,7 +8,7 @@ set(OUTPUT_EXT)
|
||||
|
||||
if(${PLATFORM} MATCHES "Web")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Os -s USE_GLFW=3 -s ASSERTIONS=1 -s WASM=1 -s EMTERPRETIFY=1 -s EMTERPRETIFY_ASYNC=1")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --shell-file ${CMAKE_SOURCE_DIR}/templates/web_shell/shell.html")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --shell-file ${CMAKE_SOURCE_DIR}/src/shell.html")
|
||||
set(OUTPUT_EXT ".html")
|
||||
endif()
|
||||
|
||||
|
||||
@ -236,7 +236,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
endif
|
||||
|
||||
# Define a custom shell .html and output extension
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\templates\web_shell\shell.html
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\src\shell.html
|
||||
EXT = .html
|
||||
endif
|
||||
|
||||
|
||||
@ -236,7 +236,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
endif
|
||||
|
||||
# Define a custom shell .html and output extension
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\templates\web_shell\shell.html
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\src\shell.html
|
||||
EXT = .html
|
||||
endif
|
||||
|
||||
|
||||
@ -236,7 +236,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
endif
|
||||
|
||||
# Define a custom shell .html and output extension
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\templates\web_shell\shell.html
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\src\shell.html
|
||||
EXT = .html
|
||||
endif
|
||||
|
||||
|
||||
@ -236,7 +236,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
endif
|
||||
|
||||
# Define a custom shell .html and output extension
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\templates\web_shell\shell.html
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\src\shell.html
|
||||
EXT = .html
|
||||
endif
|
||||
|
||||
|
||||
@ -236,7 +236,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
endif
|
||||
|
||||
# Define a custom shell .html and output extension
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\templates\web_shell\shell.html
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\src\shell.html
|
||||
EXT = .html
|
||||
endif
|
||||
|
||||
|
||||
@ -236,7 +236,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
endif
|
||||
|
||||
# Define a custom shell .html and output extension
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\templates\web_shell\shell.html
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\src\shell.html
|
||||
EXT = .html
|
||||
endif
|
||||
|
||||
|
||||
@ -236,7 +236,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
endif
|
||||
|
||||
# Define a custom shell .html and output extension
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\templates\web_shell\shell.html
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\src\shell.html
|
||||
EXT = .html
|
||||
endif
|
||||
|
||||
|
||||
@ -236,7 +236,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||
endif
|
||||
|
||||
# Define a custom shell .html and output extension
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\templates\web_shell\shell.html
|
||||
CFLAGS += --shell-file $(RAYLIB_PATH)\src\shell.html
|
||||
EXT = .html
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user