Stella Laurenzo | 3b44a0a | 2022-04-18 19:57:57 -0700 | [diff] [blame] | 1 | # Copyright 2022 The IREE Authors |
| 2 | # |
| 3 | # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| 4 | # See https://llvm.org/LICENSE.txt for license information. |
| 5 | # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | |
Stella Laurenzo | 2eb6862 | 2023-11-10 17:04:46 -0800 | [diff] [blame^] | 7 | # Must include runtime plugins before processing the runtime sources so that |
| 8 | # the static link list can be set. |
| 9 | iree_include_cmake_plugin_dirs( |
| 10 | LOG_LABEL |
| 11 | runtime |
| 12 | BINARY_DIR |
| 13 | "${IREE_BINARY_DIR}/runtime/plugins" |
| 14 | PLUGIN_CMAKE_FILE |
| 15 | "iree_runtime_plugin.cmake" |
| 16 | ) |
| 17 | |
Stella Laurenzo | 9bde61b | 2022-04-21 15:37:14 -0700 | [diff] [blame] | 18 | add_subdirectory(src) |
| 19 | |
Stella Laurenzo | 3b44a0a | 2022-04-18 19:57:57 -0700 | [diff] [blame] | 20 | if(IREE_BUILD_PYTHON_BINDINGS) |
Stella Laurenzo | b17a65e | 2022-05-09 21:15:19 -0700 | [diff] [blame] | 21 | add_subdirectory(bindings/python) |
Stella Laurenzo | 3b44a0a | 2022-04-18 19:57:57 -0700 | [diff] [blame] | 22 | endif() |