meson: Using get_argument_syntax as the `--compiler_id` option for gen_vs_module_defs.py

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17065>
This commit is contained in:
Yonggang Luo 2022-04-22 01:09:19 +08:00 committed by Marge Bot
parent 686e20afcd
commit 1173c0f33a
8 changed files with 8 additions and 8 deletions

View File

@ -183,7 +183,7 @@ egl_def = custom_target(
output : 'egl.def',
command : [prog_python, gen_vs_module_defs_py,
'--in_file', '@INPUT@', '--out_file', '@OUTPUT@',
'--compiler_id', cc.get_id(), '--cpu_family', host_machine.cpu_family()]
'--compiler_id', cc.get_argument_syntax(), '--cpu_family', host_machine.cpu_family()]
)
libegl = shared_library(

View File

@ -25,7 +25,7 @@ d3d10_sw_def = custom_target(
output : 'd3d10_sw.def',
command : [prog_python, gen_vs_module_defs_py,
'--in_file', '@INPUT@', '--out_file', '@OUTPUT@',
'--compiler_id', cc.get_id(), '--cpu_family', host_machine.cpu_family()]
'--compiler_id', cc.get_argument_syntax(), '--cpu_family', host_machine.cpu_family()]
)
libd3d10sw = shared_library(

View File

@ -27,7 +27,7 @@ opengl32_def = custom_target(
output : 'opengl32.def',
command : [prog_python, gen_vs_module_defs_py,
'--in_file', '@INPUT@', '--out_file', '@OUTPUT@',
'--compiler_id', cc.get_id(), '--cpu_family', host_machine.cpu_family()]
'--compiler_id', cc.get_argument_syntax(), '--cpu_family', host_machine.cpu_family()]
)
libopengl32 = shared_library(

View File

@ -38,7 +38,7 @@ osmesa_def = custom_target(
output : 'osmesa.def',
command : [prog_python, gen_vs_module_defs_py,
'--in_file', '@INPUT@', '--out_file', '@OUTPUT@',
'--compiler_id', cc.get_id(), '--cpu_family', host_machine.cpu_family()]
'--compiler_id', cc.get_argument_syntax(), '--cpu_family', host_machine.cpu_family()]
)
libosmesa = shared_library(

View File

@ -27,7 +27,7 @@ wgl_def = custom_target(
output : 'gallium_wgl.def',
command : [prog_python, gen_vs_module_defs_py,
'--in_file', '@INPUT@', '--out_file', '@OUTPUT@',
'--compiler_id', cc.get_id(), '--cpu_family', host_machine.cpu_family()]
'--compiler_id', cc.get_argument_syntax(), '--cpu_family', host_machine.cpu_family()]
)
libgallium_wgl = shared_library(

View File

@ -38,7 +38,7 @@ gles1_def = custom_target(
output : 'gles1.def',
command : [prog_python, gen_vs_module_defs_py,
'--in_file', '@INPUT@', '--out_file', '@OUTPUT@',
'--compiler_id', cc.get_id(), '--cpu_family', host_machine.cpu_family()]
'--compiler_id', cc.get_argument_syntax(), '--cpu_family', host_machine.cpu_family()]
)
libglesv1_cm = shared_library(

View File

@ -38,7 +38,7 @@ gles2_def = custom_target(
output : 'gles2.def',
command : [prog_python, gen_vs_module_defs_py,
'--in_file', '@INPUT@', '--out_file', '@OUTPUT@',
'--compiler_id', cc.get_id(), '--cpu_family', host_machine.cpu_family()]
'--compiler_id', cc.get_argument_syntax(), '--cpu_family', host_machine.cpu_family()]
)
libgles2 = shared_library(

View File

@ -32,7 +32,7 @@ vulkan_api_def = custom_target(
output : 'vulkan_api.def',
command : [prog_python, gen_vs_module_defs_py,
'--in_file', '@INPUT@', '--out_file', '@OUTPUT@',
'--compiler_id', cc.get_id(), '--cpu_family', host_machine.cpu_family()]
'--compiler_id', cc.get_argument_syntax(), '--cpu_family', host_machine.cpu_family()]
)
if with_platform_x11