blob: ac6003c48740aea14a943afe0d3a76e8c11ed90d [file] [log] [blame]
Lun Dong26c106a2023-10-24 09:14:25 -07001# 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 Liu986ee242021-07-29 23:23:17 -070015iree_add_all_subdirs()
Cindy Liu0db71682022-07-19 14:50:54 -070016
17# Add lit config file.
18# Note the top level lit.cfg.py is also copied here for once in the build.
19add_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
28add_dependencies(samples_simple_vec_mul_simple_int_vec_mul_emitc_static
29 lit.cfg.py
30)