Lun Dong | 26c106a | 2023-10-24 09:14:25 -0700 | [diff] [blame] | 1 | # Copyright 2023 Google LLC |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
Cindy Liu | 986ee24 | 2021-07-29 23:23:17 -0700 | [diff] [blame] | 15 | iree_add_all_subdirs() |
Cindy Liu | 0db7168 | 2022-07-19 14:50:54 -0700 | [diff] [blame] | 16 | |
| 17 | # Add lit config file. |
| 18 | # Note the top level lit.cfg.py is also copied here for once in the build. |
| 19 | add_custom_target( |
| 20 | lit.cfg.py |
| 21 | COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py |
| 22 | ${CMAKE_BINARY_DIR}/lit.cfg.py |
| 23 | BYPRODUCTS ${CMAKE_BINARY_DIR}/lit.cfg.py |
| 24 | COMMENT "Copy lit config" |
| 25 | VERBATIM |
| 26 | ) |
| 27 | |
| 28 | add_dependencies(samples_simple_vec_mul_simple_int_vec_mul_emitc_static |
| 29 | lit.cfg.py |
| 30 | ) |