mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 23:58:10 +02:00
group all generated header under the same variable Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40084>
30 lines
660 B
Meson
30 lines
660 B
Meson
# Copyright © 2019 Valve Corporation
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
amd_common_llvm_files = files(
|
|
'ac_llvm_build.c',
|
|
'ac_llvm_build.h',
|
|
'ac_llvm_helper.cpp',
|
|
'ac_llvm_util.c',
|
|
'ac_llvm_util.h',
|
|
'ac_nir_to_llvm.c',
|
|
'ac_nir_to_llvm.h',
|
|
'ac_shader_abi.h',
|
|
)
|
|
|
|
libamd_common_llvm = static_library(
|
|
'amd_common_llvm',
|
|
[amd_common_llvm_files],
|
|
include_directories : [
|
|
inc_include, inc_src, inc_amd, inc_amd_common
|
|
],
|
|
link_with: [
|
|
libamd_common
|
|
],
|
|
dependencies : [
|
|
dep_llvm, dep_thread, dep_elf, dep_libdrm_amdgpu, dep_valgrind,
|
|
idep_nir_headers, idep_amd_generated_headers,
|
|
],
|
|
gnu_symbol_visibility : 'hidden',
|
|
)
|
|
|