| #------------------------------------------------------------------------------- |
| # Copyright (c) 2021-2022, Arm Limited and Contributors. All rights reserved. |
| # |
| # SPDX-License-Identifier: BSD-3-Clause |
| # |
| #------------------------------------------------------------------------------- |
| |
| add_components(TARGET "attestation" |
| BASE_DIR ${TS_ROOT} |
| COMPONENTS |
| "components/common/tlv" |
| "components/common/endian" |
| "components/rpc/common/interface" |
| "components/service/common/include" |
| "components/service/common/provider" |
| "components/service/attestation/include" |
| "components/service/attestation/claims" |
| "components/service/attestation/reporter/local" |
| "components/service/attestation/reporter/eat" |
| "components/service/attestation/key_mngr/local" |
| "components/service/attestation/provider" |
| "components/service/attestation/provider/serializer/packed-c" |
| "protocols/rpc/common/packed-c" |
| ) |
| |
| #------------------------------------------------------------------------------- |
| # Components used from external projects |
| # |
| #------------------------------------------------------------------------------- |
| |
| # Qcbor |
| include(${TS_ROOT}/external/qcbor/qcbor.cmake) |
| target_link_libraries(attestation PRIVATE qcbor) |
| |
| # t_cose |
| include(${TS_ROOT}/external/t_cose/t_cose.cmake) |
| target_link_libraries(attestation PRIVATE t_cose) |
| |
| ################################################################# |
| |
| target_include_directories(attestation PRIVATE |
| ${TS_ROOT} |
| ${TS_ROOT}/components |
| ) |