summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-31 21:05:17 +0100
committerskal <pascal.massimino@gmail.com>2026-01-31 21:05:17 +0100
commitcccb09e478c419fb9f0da97b6e99bcf2c98bd751 (patch)
tree4770121538eaa3ee1af0931b08d1242374694b96 /src/main.cc
parentc6b33c5e9b2325ca472dab8c4b64d1dab7b2885a (diff)
refactor: move generated asset files to src/generated/
- Updated CMakeLists.txt to generate assets.h and assets_data.cc in src/generated/. - Updated scripts/gen_assets.sh to reflect the new output location. - Modified asset_packer.cc to generate correct include paths in assets_data.cc. - Updated source files (main.cc, asset_manager.cc, test_assets.cc) to include headers from the 'generated/' subdirectory. - Ensured all targets have correct include paths to find generated headers. - Removed stale generated files from src/.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index aa24152..c0f6770 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -2,7 +2,7 @@
// It serves as the application entry point.
// Orchestrates platform initialization, main loop, and subsystem coordination.
-#include "assets.h" // Include generated asset header
+#include "generated/assets.h" // Include generated asset header
#include "audio/audio.h"
#include "audio/gen.h"
#include "audio/synth.h"