1# SPDX-License-Identifier: Apache-2.0 2 3include_guard(GLOBAL) 4 5# This file creates locations in the build directory 6# for placing generated files. 7# 8# Outcome: 9# - BINARY_DIR_INCLUDE is set to ${PROJECT_BINARY_DIR}/include 10# - BINARY_DIR_INCLUDE_GENERATED is set to ${BINARY_DIR_INCLUDE}/generated 11# - BINARY_DIR_INCLUDE_GENERATED is a directory 12# 13# Required variables: 14# None 15# 16# Optional variables: 17# None 18# 19# Optional environment variables: 20# None 21 22set(BINARY_DIR_INCLUDE ${PROJECT_BINARY_DIR}/include) 23set(BINARY_DIR_INCLUDE_GENERATED ${BINARY_DIR_INCLUDE}/generated) 24file(MAKE_DIRECTORY ${BINARY_DIR_INCLUDE_GENERATED}) 25