diff options
| author | Ray <[email protected]> | 2019-05-22 10:40:51 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2019-05-22 10:40:51 +0200 |
| commit | be7e56f51e0f9c1c8bf38cab8d451f148b46458b (patch) | |
| tree | efca613e5eeb7ff471dc4972f59a70abaa40e1d1 /examples | |
| parent | e6ca2c4ba338fcb56949a3beb978a87803aa38b0 (diff) | |
| download | raylib-be7e56f51e0f9c1c8bf38cab8d451f148b46458b.tar.gz raylib-be7e56f51e0f9c1c8bf38cab8d451f148b46458b.zip | |
Move emscripten web shell to src
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | examples/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index f3457b04..6f9e4428 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -81,7 +81,7 @@ elseif(${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") # Since WASM is used, ALLOW_MEMORY_GROWTH has no extra overheads set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s ALLOW_MEMORY_GROWTH=1 --no-heap-copy") - 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") diff --git a/examples/Makefile b/examples/Makefile index cb015fa7..e79bc364 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -240,7 +240,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB) # logic to a self contained function: UpdateDrawFrame(), check core_basic_window_web.c for reference. # 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 |
