feat: add export / file packing

This commit is contained in:
2026-10-30 15:42:08 +01:00
parent de7e489cc0
commit 0fbc023018
28 changed files with 782 additions and 157 deletions
+3
View File
@@ -28,9 +28,11 @@ set(GAME_SRC
add_executable(lightkeeper ${GAME_SRC})
# Release is what gets exported, players shouldn't get a console next to the game (it logs to a file too)
set_target_properties(lightkeeper PROPERTIES
CXX_STANDARD 20
CXX_EXTENSIONS OFF
WIN32_EXECUTABLE $<CONFIG:Release,MinSizeRel>
)
#target_add_extra_warnings(lightkeeper)
@@ -108,6 +110,7 @@ add_dependencies(lightkeeper _internal_cook_game_assets)
destrum_cook_engine_assets(lightkeeper "${CMAKE_CURRENT_BINARY_DIR}")
destrum_copy_runtime_dlls(lightkeeper)
destrum_add_export(lightkeeper "${ASSETS_RUNTIME_DIR}")
install(TARGETS lightkeeper RUNTIME DESTINATION bin)
install(DIRECTORY "${ASSETS_RUNTIME_DIR}/" DESTINATION "bin/assets/game")