#------------------------------------------------------------------------------- # Copyright (c) 2021-2023, Arm Limited and Contributors. All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # #------------------------------------------------------------------------------- add_components(TARGET "se-proxy" BASE_DIR ${TS_ROOT} COMPONENTS "components/common/tlv" "components/rpc/common/interface" "components/rpc/common/endpoint" "components/service/common/include" "components/service/common/serializer/protobuf" "components/service/common/client" "components/service/common/provider" "components/service/crypto/client/psa" "components/service/crypto/include" "components/service/crypto/provider" "components/service/crypto/provider/serializer/protobuf" "components/service/crypto/provider/serializer/packed-c" "components/service/crypto/provider/extension/hash" "components/service/crypto/provider/extension/hash/serializer/packed-c" "components/service/crypto/provider/extension/cipher" "components/service/crypto/provider/extension/cipher/serializer/packed-c" "components/service/crypto/provider/extension/key_derivation" "components/service/crypto/provider/extension/key_derivation/serializer/packed-c" "components/service/crypto/provider/extension/mac" "components/service/crypto/provider/extension/mac/serializer/packed-c" "components/service/crypto/provider/extension/aead" "components/service/crypto/provider/extension/aead/serializer/packed-c" "components/service/crypto/factory/full" "components/service/secure_storage/include" "components/service/secure_storage/frontend/secure_storage_provider" "components/service/attestation/include" "components/service/attestation/provider" "components/service/attestation/provider/serializer/packed-c" "protocols/rpc/common/packed-c" "protocols/service/secure_storage/packed-c" "protocols/service/crypto/protobuf" ) #------------------------------------------------------------------------------- # Components used from external projects # #------------------------------------------------------------------------------- # Nanopb include(${TS_ROOT}/external/nanopb/nanopb.cmake) target_link_libraries(se-proxy PRIVATE nanopb::protobuf-nanopb-static) protobuf_generate_all(TGT "se-proxy" NAMESPACE "protobuf" BASE_DIR "${TS_ROOT}/protocols") ################################################################# target_include_directories(se-proxy PRIVATE ${TS_ROOT} ${TS_ROOT}/components )