File tree Expand file tree Collapse file tree 5 files changed +12
-0
lines changed Expand file tree Collapse file tree 5 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1010,6 +1010,9 @@ if (NOT NACL)
10101010 Tests ${ENGINETESTLIST}
10111011 )
10121012 endif ()
1013+
1014+ # Generate media include files.
1015+ daemon_embed_files("EngineMedia" "MEDIA" "BINARY" "engine-lib" )
10131016endif ()
10141017
10151018if (BUILD_CLIENT)
Original file line number Diff line number Diff line change @@ -86,6 +86,13 @@ else()
8686 include (${ENGINE_DIR} /renderer/src.cmake)
8787endif ()
8888
89+ set (MEDIA_EMBED_DIR ${ENGINE_DIR} /media)
90+ set (MEDIA_EMBED_LIST
91+ gfx/2d/bigchars.png
92+ scripts/engine.shader
93+ sound/null.wav
94+ )
95+
8996set (GLSL_EMBED_DIR "${ENGINE_DIR} /renderer/glsl_source" )
9097set (GLSL_EMBED_LIST
9198 # Common shader libraries
@@ -167,6 +174,8 @@ set(SERVERLIST
167174)
168175
169176set (ENGINELIST
177+ ${DAEMON_EMBEDDED_DIR} /EngineMedia.cpp
178+ ${DAEMON_EMBEDDED_DIR} /EngineMedia.h
170179 ${ENGINE_DIR} /framework /Application.cpp
171180 ${ENGINE_DIR} /framework /Application.h
172181 ${ENGINE_DIR} /framework /ApplicationInternals.h
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments