Julian Hall | 0051ed1 | 2021-07-22 13:59:24 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | # This provides a common interface for injecting definitions and include paths |
| 9 | # into a cmake build for the purpose of applying an externally defined |
| 10 | # build configuration. Although some cmake based external components provide |
| 11 | # their own cmake based configuration interface, not all do. This file gets |
| 12 | # included by environment specific cmake toolchain files that get actioned |
| 13 | # early on when a new cmake build context is created. |
| 14 | add_definitions(${EXTERNAL_DEFINITIONS}) |
| 15 | include_directories(${EXTERNAL_INCLUDE_PATHS}) |