X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=meson.build;h=83570057d161a75573e691062b4c372cba7e2b5e;hb=9b7d691b4cc5db7dbfc18c82e86c1207fcac4722;hp=6c13d8c28108e884da0fd0b3c16c4713e7285f15;hpb=6e116a6bbeb2c047a3bfb084395ec601ce211e6c;p=nageru diff --git a/meson.build b/meson.build index 6c13d8c..8357005 100644 --- a/meson.build +++ b/meson.build @@ -1,2 +1,11 @@ -project('futatabi', 'cpp') +project('nageru', 'cpp', default_options: ['buildtype=debugoptimized']) + +# Add the right MOVIT_SHADER_DIR definition. +r = run_command('pkg-config', '--variable=shaderdir', 'movit') +if r.returncode() != 0 + error('Movit pkg-config installation is broken.') +endif +add_project_arguments('-DMOVIT_SHADER_DIR="' + r.stdout().strip() + '"', language: 'cpp') + +subdir('nageru') subdir('futatabi')