1 # Copyright © 2017-2018 Intel Corporation
3 # Permission is hereby granted, free of charge, to any person obtaining a copy
4 # of this software and associated documentation files (the "Software"), to deal
5 # in the Software without restriction, including without limitation the rights
6 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 # copies of the Software, and to permit persons to whom the Software is
8 # furnished to do so, subject to the following conditions:
10 # The above copyright notice and this permission notice shall be included in
11 # all copies or substantial portions of the Software.
13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 files_swr_common += custom_target(
24 input : swr_gen_backends_py,
26 'gen_BackendPixelRate0.cpp', 'gen_BackendPixelRate1.cpp',
27 'gen_BackendPixelRate2.cpp', 'gen_BackendPixelRate3.cpp',
28 'gen_BackendPixelRate.hpp',
31 prog_python, '@INPUT@',
32 '--outdir', '@OUTDIR@',
33 '--dim', '5', '2', '3', '2', '2', '2',
37 depend_files : [ swr_gen_backend_files, swr_gen_header_init_files ],
40 files_swr_common += custom_target(
42 input : swr_gen_backends_py,
44 'gen_rasterizer0.cpp', 'gen_rasterizer1.cpp',
45 'gen_rasterizer2.cpp', 'gen_rasterizer3.cpp',
49 prog_python, '@INPUT@',
50 '--outdir', '@OUTDIR@',
52 '--dim', '5', '2', '2', '3', '5', '2',
56 depend_files : [ swr_gen_rasterizer_files, swr_gen_header_init_files ],