Path: blob/21.2-virgl/src/microsoft/spirv_to_dxil/meson.build
4564 views
# Copyright © Microsoft Corporation12# Permission is hereby granted, free of charge, to any person obtaining a3# copy of this software and associated documentation files (the "Software"),4# to deal in the Software without restriction, including without limitation5# the rights to use, copy, modify, merge, publish, distribute, sublicense,6# and/or sell copies of the Software, and to permit persons to whom the7# Software is furnished to do so, subject to the following conditions:89# The above copyright notice and this permission notice (including the next10# paragraph) shall be included in all copies or substantial portions of the11# Software.1213# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR14# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,15# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL16# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER17# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING18# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS19# IN THE SOFTWARE.2021libspirv_to_dxil = both_libraries(22'spirv_to_dxil',23files(24'spirv_to_dxil.c',25'spirv_to_dxil.h',26),27vs_module_defs : 'spirv_to_dxil.def',28dependencies : [idep_nir, idep_libdxil_compiler],29include_directories : [inc_include, inc_src, inc_compiler, inc_gallium],30)3132spirv_to_dxil = executable(33'spirv2dxil',34files(35'spirv2dxil.c',36),37dependencies : [idep_nir, idep_libdxil_compiler, idep_getopt],38include_directories : [inc_include, inc_src, inc_compiler, inc_gallium],39link_with : libspirv_to_dxil.get_static_lib(),40build_by_default : true,41install : true,42)434445