mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-15 19:20:34 +01:00
mesa: inline main/meson.build
Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34002>
This commit is contained in:
parent
574c1a70d6
commit
25d1be00a2
2 changed files with 10 additions and 14 deletions
|
|
@ -1,13 +0,0 @@
|
|||
# Copyright © 2017 Intel Corporation
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
if _shader_replacement != ''
|
||||
# shader replacement
|
||||
shader_replacement_h = custom_target(
|
||||
'shader_replacement.h',
|
||||
input: [files(_shader_replacement + '/process_shaders.py')],
|
||||
output: 'shader_replacement.h',
|
||||
command: [prog_python, '@INPUT0@', _shader_replacement, '@OUTPUT@'],
|
||||
build_always: true,
|
||||
)
|
||||
endif
|
||||
|
|
@ -2,7 +2,16 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
|
||||
subdir('program')
|
||||
subdir('main')
|
||||
|
||||
if _shader_replacement != ''
|
||||
shader_replacement_h = custom_target(
|
||||
'shader_replacement.h',
|
||||
input: [files(_shader_replacement + '/process_shaders.py')],
|
||||
output: 'shader_replacement.h',
|
||||
command: [prog_python, '@INPUT0@', _shader_replacement, '@OUTPUT@'],
|
||||
build_always: true,
|
||||
)
|
||||
endif
|
||||
|
||||
# files shared between classic mesa and gallium mesa
|
||||
files_libmesa = files(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue