| # Copyright 2022 The IREE Authors |
| # |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| # See https://llvm.org/LICENSE.txt for license information. |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| |
| # Configures all iree_cc_* targets to take this implicit dep, |
| # which provides common includes and copts for the tree. |
| set(IREE_IMPLICIT_DEFS_CC_DEPS iree_defs_runtime) |
| |
| add_library(iree_defs_runtime INTERFACE) |
| target_include_directories( |
| iree_defs_runtime INTERFACE |
| $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> |
| $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}> |
| ) |
| |
| add_subdirectory(iree) |