diff --git a/CMakeLists.txt b/CMakeLists.txt index 84a655b..de519a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "build") project (Matabstrix) add_definitions ("-std=c++14 -Wall -Wextra") -set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "--use-preload-plugins --preload-file data") +set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "--embed-file data -s STB_IMAGE=1 -s TOTAL_MEMORY=67108864") file (GLOB_RECURSE sources "src/**.cpp" "examples/**.cpp") diff --git a/build b/build index 4ef6e86..bca6b67 160000 --- a/build +++ b/build @@ -1 +1 @@ -Subproject commit 4ef6e86dd37af8fed13d6b370a9ed4a4be9bd36e +Subproject commit bca6b67d90f75f7dfbd9dba75aaa3eadc61b9e9e