blob: 4afa7996bf3cb51ceba29a0f70287b26c268ef6c [file] [log] [blame]
Julian Hall0051ed12021-07-22 13:59:24 +01001#-------------------------------------------------------------------------------
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.
14add_definitions(${EXTERNAL_DEFINITIONS})
15include_directories(${EXTERNAL_INCLUDE_PATHS})