Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 1 | # Copyright 2023 The Dawn & Tint Authors |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 2 | # |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 3 | # Redistribution and use in source and binary forms, with or without |
| 4 | # modification, are permitted provided that the following conditions are met: |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 5 | # |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 6 | # 1. Redistributions of source code must retain the above copyright notice, this |
| 7 | # list of conditions and the following disclaimer. |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 8 | # |
Austin Eng | cc2516a | 2023-10-17 20:57:54 +0000 | [diff] [blame] | 9 | # 2. Redistributions in binary form must reproduce the above copyright notice, |
| 10 | # this list of conditions and the following disclaimer in the documentation |
| 11 | # and/or other materials provided with the distribution. |
| 12 | # |
| 13 | # 3. Neither the name of the copyright holder nor the names of its |
| 14 | # contributors may be used to endorse or promote products derived from |
| 15 | # this software without specific prior written permission. |
| 16 | # |
| 17 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 18 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 19 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 20 | # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
| 21 | # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 22 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| 23 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| 24 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| 25 | # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 27 | |
| 28 | ################################################################################ |
Ben Clayton | 57ded6a | 2023-08-22 13:22:22 +0000 | [diff] [blame] | 29 | # File generated by 'tools/src/cmd/gen' using the template: |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 30 | # tools/src/cmd/gen/build/BUILD.cmake.tmpl |
| 31 | # |
Ben Clayton | 57ded6a | 2023-08-22 13:22:22 +0000 | [diff] [blame] | 32 | # To regenerate run: './tools/run gen' |
| 33 | # |
| 34 | # Do not modify this file directly |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 35 | ################################################################################ |
| 36 | |
| 37 | include(lang/core/constant/BUILD.cmake) |
| 38 | include(lang/core/intrinsic/BUILD.cmake) |
| 39 | include(lang/core/ir/BUILD.cmake) |
| 40 | include(lang/core/type/BUILD.cmake) |
| 41 | |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 42 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 43 | # Target: tint_lang_core |
| 44 | # Kind: lib |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 45 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 46 | tint_add_target(tint_lang_core lib |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 47 | lang/core/access.cc |
| 48 | lang/core/access.h |
| 49 | lang/core/address_space.cc |
| 50 | lang/core/address_space.h |
| 51 | lang/core/attribute.cc |
| 52 | lang/core/attribute.h |
| 53 | lang/core/binary_op.cc |
| 54 | lang/core/binary_op.h |
Ben Clayton | d9766dc | 2023-09-21 12:41:20 +0000 | [diff] [blame] | 55 | lang/core/builtin_fn.cc |
| 56 | lang/core/builtin_fn.h |
Ben Clayton | 0a7aa0c | 2023-09-21 12:41:20 +0000 | [diff] [blame] | 57 | lang/core/builtin_type.cc |
| 58 | lang/core/builtin_type.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 59 | lang/core/builtin_value.cc |
| 60 | lang/core/builtin_value.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 61 | lang/core/evaluation_stage.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 62 | lang/core/fluent_types.h |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 63 | lang/core/interpolation.h |
| 64 | lang/core/interpolation_sampling.cc |
| 65 | lang/core/interpolation_sampling.h |
| 66 | lang/core/interpolation_type.cc |
| 67 | lang/core/interpolation_type.h |
| 68 | lang/core/number.cc |
| 69 | lang/core/number.h |
| 70 | lang/core/parameter_usage.cc |
| 71 | lang/core/parameter_usage.h |
| 72 | lang/core/texel_format.cc |
| 73 | lang/core/texel_format.h |
| 74 | lang/core/unary_op.cc |
| 75 | lang/core/unary_op.h |
| 76 | ) |
| 77 | |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 78 | tint_target_add_dependencies(tint_lang_core lib |
Ben Clayton | 16fb254 | 2023-09-25 11:43:19 +0000 | [diff] [blame] | 79 | tint_utils_containers |
| 80 | tint_utils_diagnostic |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 81 | tint_utils_ice |
| 82 | tint_utils_macros |
Ben Clayton | 16fb254 | 2023-09-25 11:43:19 +0000 | [diff] [blame] | 83 | tint_utils_math |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 84 | tint_utils_memory |
dan sinclair | 2fe1f26 | 2024-01-09 16:17:56 +0000 | [diff] [blame] | 85 | tint_utils_reflection |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 86 | tint_utils_result |
Ben Clayton | 16fb254 | 2023-09-25 11:43:19 +0000 | [diff] [blame] | 87 | tint_utils_rtti |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 88 | tint_utils_text |
| 89 | tint_utils_traits |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 90 | ) |
| 91 | |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 92 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 93 | # Target: tint_lang_core_test |
| 94 | # Kind: test |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 95 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 96 | tint_add_target(tint_lang_core_test test |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 97 | lang/core/access_test.cc |
| 98 | lang/core/address_space_test.cc |
| 99 | lang/core/attribute_test.cc |
Ben Clayton | 0a7aa0c | 2023-09-21 12:41:20 +0000 | [diff] [blame] | 100 | lang/core/builtin_type_test.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 101 | lang/core/builtin_value_test.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 102 | lang/core/interpolation_sampling_test.cc |
| 103 | lang/core/interpolation_type_test.cc |
| 104 | lang/core/number_test.cc |
| 105 | lang/core/texel_format_test.cc |
| 106 | ) |
| 107 | |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 108 | tint_target_add_dependencies(tint_lang_core_test test |
| 109 | tint_api_common |
| 110 | tint_lang_core |
| 111 | tint_lang_core_constant |
| 112 | tint_lang_core_type |
Ben Clayton | 1165389 | 2023-09-19 19:15:59 +0000 | [diff] [blame] | 113 | tint_lang_wgsl |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 114 | tint_lang_wgsl_ast |
Ben Clayton | 3c54ba5 | 2023-11-28 21:36:08 +0000 | [diff] [blame] | 115 | tint_lang_wgsl_features |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 116 | tint_lang_wgsl_program |
| 117 | tint_lang_wgsl_sem |
| 118 | tint_utils_containers |
| 119 | tint_utils_diagnostic |
| 120 | tint_utils_ice |
| 121 | tint_utils_id |
| 122 | tint_utils_macros |
| 123 | tint_utils_math |
| 124 | tint_utils_memory |
| 125 | tint_utils_reflection |
| 126 | tint_utils_result |
| 127 | tint_utils_rtti |
| 128 | tint_utils_symbol |
| 129 | tint_utils_text |
| 130 | tint_utils_traits |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 131 | ) |
| 132 | |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 133 | tint_target_add_external_dependencies(tint_lang_core_test test |
Ben Clayton | 7545f95 | 2023-08-17 09:53:58 +0000 | [diff] [blame] | 134 | "gtest" |
| 135 | ) |
| 136 | |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 137 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 138 | # Target: tint_lang_core_bench |
| 139 | # Kind: bench |
Ben Clayton | 55e6d71 | 2023-08-17 16:52:22 +0000 | [diff] [blame] | 140 | ################################################################################ |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 141 | tint_add_target(tint_lang_core_bench bench |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 142 | lang/core/access_bench.cc |
| 143 | lang/core/address_space_bench.cc |
| 144 | lang/core/attribute_bench.cc |
Ben Clayton | 0a7aa0c | 2023-09-21 12:41:20 +0000 | [diff] [blame] | 145 | lang/core/builtin_type_bench.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 146 | lang/core/builtin_value_bench.cc |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 147 | lang/core/interpolation_sampling_bench.cc |
| 148 | lang/core/interpolation_type_bench.cc |
| 149 | lang/core/texel_format_bench.cc |
| 150 | ) |
| 151 | |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 152 | tint_target_add_dependencies(tint_lang_core_bench bench |
| 153 | tint_lang_core |
Ben Clayton | f1dc9e3 | 2024-02-08 17:47:19 +0000 | [diff] [blame] | 154 | tint_utils_containers |
| 155 | tint_utils_diagnostic |
| 156 | tint_utils_ice |
dan sinclair | 2fe1f26 | 2024-01-09 16:17:56 +0000 | [diff] [blame] | 157 | tint_utils_macros |
Ben Clayton | 2555f18 | 2024-02-05 12:13:43 +0000 | [diff] [blame] | 158 | tint_utils_math |
Ben Clayton | f1dc9e3 | 2024-02-08 17:47:19 +0000 | [diff] [blame] | 159 | tint_utils_memory |
dan sinclair | 2fe1f26 | 2024-01-09 16:17:56 +0000 | [diff] [blame] | 160 | tint_utils_reflection |
Ben Clayton | f1dc9e3 | 2024-02-08 17:47:19 +0000 | [diff] [blame] | 161 | tint_utils_result |
| 162 | tint_utils_rtti |
| 163 | tint_utils_text |
Ben Clayton | 3fe6761 | 2023-08-17 18:22:29 +0000 | [diff] [blame] | 164 | tint_utils_traits |
Ben Clayton | 3a3cb36 | 2023-08-16 01:05:21 +0000 | [diff] [blame] | 165 | ) |
Ben Clayton | 9d1b610 | 2023-09-29 12:12:48 +0000 | [diff] [blame] | 166 | |
| 167 | tint_target_add_external_dependencies(tint_lang_core_bench bench |
| 168 | "google-benchmark" |
| 169 | ) |