blob: ca6179b7c50aec47684b8b5e9c5a17034d455ad6 [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
shejia01d853fe82021-07-12 20:03:55 +080022)
23
Feder Liangd4dbaa92021-09-07 15:34:46 +080024target_compile_options(tfm_t_cose_s
Raef Coles19715382020-07-10 09:50:17 +010025 PUBLIC
Feder Liangd4dbaa92021-09-07 15:34:46 +080026 ${COMPILER_CP_FLAG}
Raef Coles19715382020-07-10 09:50:17 +010027)