build(build): updated build system to be compatible with resource manager

The build system now passes compiler directives based on the mode being build. By default data is stored in the source root (and this is encoded into the compiled binary). However, if building in user mode then data is assumed to be at the meson install prefix data directory
This commit is contained in:
2025-03-20 14:29:43 -04:00
parent 18f3f6689d
commit cb5ac274dc
7 changed files with 61 additions and 12 deletions

View File

@@ -1 +1,2 @@
option('build_tests', type: 'boolean', value: true, description: 'Build tests')
option('user_mode', type: 'boolean', value: false, description: 'Enable user mode (set mode = 0)')