1
0
Fork 0

Embed files instead of preloading to support GitHub Pages

This commit is contained in:
Meoweg 2015-11-15 09:25:37 +00:00
parent a9579a8f65
commit 9b34105e80
2 changed files with 2 additions and 2 deletions

View file

@ -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")

2
build

@ -1 +1 @@
Subproject commit 4ef6e86dd37af8fed13d6b370a9ed4a4be9bd36e
Subproject commit bca6b67d90f75f7dfbd9dba75aaa3eadc61b9e9e