File tree Expand file tree Collapse file tree
libs/openFrameworksCompiled/project/emscripten Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717PLATFORM_PROJECT_RELEASE_TARGET = bin/em/$(BIN_NAME ) /index.html
1818PLATFORM_PROJECT_DEBUG_TARGET = bin/em/$(BIN_NAME ) /index.html
1919BYTECODECORE =1
20- PLATFORM_CORELIB_DEBUG_TARGET = $(OF_CORE_LIB_PATH ) /libopenFrameworksDebug.bc
21- PLATFORM_CORELIB_RELEASE_TARGET = $(OF_CORE_LIB_PATH ) /libopenFrameworks.bc
20+ PLATFORM_CORELIB_DEBUG_TARGET = $(OF_CORE_LIB_PATH ) /libopenFrameworksDebug.o
21+ PLATFORM_CORELIB_RELEASE_TARGET = $(OF_CORE_LIB_PATH ) /libopenFrameworks.o
2222
2323# ###############################################################################
2424# PLATFORM DEFINES
@@ -93,7 +93,7 @@ ifdef USE_CCACHE
9393 endif
9494endif
9595
96- PLATFORM_LDFLAGS = -Wl --gc-sections - -preload-file bin/data@data --emrun --bind --profiling-funcs -s USE_FREETYPE=1 -s ALLOW_MEMORY_GROWTH=1 -s MAX_WEBGL_VERSION=2 -s WEBGL2_BACKWARDS_COMPATIBILITY_EMULATION=1 -s FULL_ES2 -sFULL_ES3=1 -s USE_PTHREADS=0
96+ PLATFORM_LDFLAGS = --preload-file bin/data@data --emrun --bind --profiling-funcs -s USE_FREETYPE=1 -s ALLOW_MEMORY_GROWTH=1 -s MAX_WEBGL_VERSION=2 -s WEBGL2_BACKWARDS_COMPATIBILITY_EMULATION=1 -s FULL_ES2 -sFULL_ES3=1 -s USE_PTHREADS=0
9797PLATFORM_LDFLAGS += --js-library $(OF_ADDONS_PATH ) /ofxEmscripten/libs/html5video/lib/emscripten/library_html5video.js
9898PLATFORM_LDFLAGS += --js-library $(OF_ADDONS_PATH ) /ofxEmscripten/libs/html5audio/lib/emscripten/library_html5audio.js
9999
103103 PLATFORM_LDFLAGS += --shell-file $(OF_LIBS_PATH)/openFrameworksCompiled/project/emscripten/template.html
104104endif
105105
106- PLATFORM_OPTIMIZATION_LDFLAGS_RELEASE = -O3 -s TOTAL_MEMORY=$(PLATFORM_EMSCRIPTEN_TOTAL_MEMORY ) --memory-init-file 1
106+ PLATFORM_OPTIMIZATION_LDFLAGS_RELEASE = -O3 -s TOTAL_MEMORY=$(PLATFORM_EMSCRIPTEN_TOTAL_MEMORY )
107107
108- PLATFORM_OPTIMIZATION_LDFLAGS_DEBUG = -g3 -s TOTAL_MEMORY=134217728 --memory-init-file 1 - s DEMANGLE_SUPPORT=1 -s ASSERTIONS=2
108+ PLATFORM_OPTIMIZATION_LDFLAGS_DEBUG = -g3 -s TOTAL_MEMORY=134217728 -s DEMANGLE_SUPPORT=1 -s ASSERTIONS=2
109109
110110# ###############################################################################
111111# PLATFORM OPTIMIZATION CFLAGS
You can’t perform that action at this time.
0 commit comments