Improve meson build.
-Add all required packages as wrap dependencies -Move source lsitnings to separate files -Proper dependencies declarations -Set global D compiler arguments -Add few asserts -Add test exe -Other small improvements Tested with dmd with betterC, demos executable has to be run from 'demos' directory to properly load assets.
This commit is contained in:
parent
00386ed529
commit
66b5807368
16 changed files with 314 additions and 104 deletions
12
demos/external/meson.build
vendored
Normal file
12
demos/external/meson.build
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
demos_src += files(
|
||||
'sources/cimgui/cimgui.d',
|
||||
'sources/glad/gl/all.d',
|
||||
'sources/glad/gl/enums.d',
|
||||
'sources/glad/gl/ext.d',
|
||||
'sources/glad/gl/funcs.d',
|
||||
'sources/glad/gl/gl.d',
|
||||
'sources/glad/gl/gles2.d',
|
||||
'sources/glad/gl/loader.d',
|
||||
'sources/glad/gl/types.d',
|
||||
'sources/mmutils/thread_pool.d',
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue