Module: Mesa Branch: master Commit: 84dd4ac1c75675d16b1af66c79df6078ac33aea7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=84dd4ac1c75675d16b1af66c79df6078ac33aea7
Author: Erik Faye-Lund <[email protected]> Date: Wed Dec 2 13:18:48 2020 +0100 microsoft/clc: use files-function for source-list This makes things a bit more explicit, and is generally what we seem to do around in the source-tree. Acked-by: Daniel Stone <[email protected]> Reviewed-by: Jesse Natalie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7869> --- src/microsoft/clc/meson.build | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/microsoft/clc/meson.build b/src/microsoft/clc/meson.build index dac26ab9c7b..d22485830c6 100644 --- a/src/microsoft/clc/meson.build +++ b/src/microsoft/clc/meson.build @@ -42,11 +42,15 @@ opencl_c_base_h = custom_target( command : [prog_python, '@INPUT@', '@OUTPUT@', '-n', 'opencl_c_base_source'], ) -libclc_compiler = shared_library( - 'clglon12compiler', +files_libclc_compiler = files( 'clc_compiler.c', 'clc_nir.c', - 'clc_helpers.cpp', + 'clc_helpers.cpp' +) + +libclc_compiler = shared_library( + 'clglon12compiler', + [files_libclc_compiler], opencl_c_h, opencl_c_base_h, vs_module_defs : 'clglon12compiler.def', _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
