From 1d72e3b99ba8cd7bb243a3ae79c0546e0d385d95 Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 28 Jan 2026 10:12:54 +0100 Subject: feat(assets): Separate demo and test asset lists Renamed demo assets to 'demo_assets.txt' and created 'test_assets_list.txt' for AssetManagerTest to prevent interference. - Updated CMakeLists.txt to generate separate headers for demo and test. - Updated test_assets.cc to conditionally include the test-specific header. - Incorporated gen_assets.sh into the 'final' target. --- src/tests/test_assets.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/tests/test_assets.cc b/src/tests/test_assets.cc index 606c7a7..5e0725e 100644 --- a/src/tests/test_assets.cc +++ b/src/tests/test_assets.cc @@ -2,7 +2,12 @@ // It tests the asset manager's ability to retrieve packed data. // Verifies data integrity and size reporting. +#ifdef USE_TEST_ASSETS +#include "test_assets.h" +#else #include "assets.h" +#endif + #include #include #include -- cgit v1.2.3