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 <daniels@collabora.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7869>
This commit is contained in:
parent
19a9f22501
commit
84dd4ac1c7
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue