blob: 81c99c183736fe017141829c6977efe1df27a80f [file] [log] [blame]
Tamas Banc2e0c182020-01-07 15:09:16 +00001#-------------------------------------------------------------------------------
David Vincze3de42282022-11-10 16:26:45 +01002# Copyright (c) 2020-2023, Arm Limited. All rights reserved.
Tamas Banc2e0c182020-01-07 15:09:16 +00003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
David Hu1249f0d2023-12-04 22:57:56 +08008cmake_minimum_required(VERSION 3.21)
Tamas Banc2e0c182020-01-07 15:09:16 +00009
Kevin Peng2f4ef242023-09-11 09:35:51 +080010include(${CMAKE_CURRENT_LIST_DIR}/tfm_t_cose.cmake)
Antonio de Angelis34a0ffd2023-02-16 11:56:46 +000011
shejia01d853fe82021-07-12 20:03:55 +080012############################ t_cose secure #####################################
13
14add_library(tfm_t_cose_s STATIC EXCLUDE_FROM_ALL)
15
16target_link_libraries(tfm_t_cose_s
17 PUBLIC
18 tfm_t_cose_common
19 tfm_t_cose_defs
shejia01d853fe82021-07-12 20:03:55 +080020 psa_interface
David Vincze3de42282022-11-10 16:26:45 +010021 qcbor
Antonio de Angelis8bb98512024-01-16 14:13:36 +000022 platform_s
shejia01d853fe82021-07-12 20:03:55 +080023)
24
Feder Liangd4dbaa92021-09-07 15:34:46 +080025target_compile_options(tfm_t_cose_s
Raef Coles19715382020-07-10 09:50:17 +010026 PUBLIC
Feder Liangd4dbaa92021-09-07 15:34:46 +080027 ${COMPILER_CP_FLAG}
Raef Coles19715382020-07-10 09:50:17 +010028)