Bence Balogh | db87226 | 2024-02-22 16:59:35 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2024, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | if (NOT DEFINED TGT) |
| 8 | message(FATAL_ERROR "mandatory parameter TGT is not defined.") |
| 9 | endif() |
| 10 | |
| 11 | set_property(TARGET ${TGT} APPEND PROPERTY PUBLIC_HEADER |
Gyorgy Szing | e6b3846 | 2024-10-24 17:36:45 +0200 | [diff] [blame] | 12 | ${CMAKE_CURRENT_LIST_DIR}/caller/sp/rse_comms_caller.h |
Bence Balogh | db87226 | 2024-02-22 16:59:35 +0100 | [diff] [blame] | 13 | ) |
| 14 | |
| 15 | target_sources(${TGT} PRIVATE |
Gyorgy Szing | e6b3846 | 2024-10-24 17:36:45 +0200 | [diff] [blame] | 16 | "${CMAKE_CURRENT_LIST_DIR}/rse_comms.c" |
| 17 | "${CMAKE_CURRENT_LIST_DIR}/caller/sp/rse_comms_caller.c" |
| 18 | "${CMAKE_CURRENT_LIST_DIR}/caller/sp/rse_comms_protocol.c" |
| 19 | "${CMAKE_CURRENT_LIST_DIR}/caller/sp/rse_comms_protocol_embed.c" |
| 20 | "${CMAKE_CURRENT_LIST_DIR}/caller/sp/rse_comms_protocol_pointer_access.c" |
Bence Balogh | db87226 | 2024-02-22 16:59:35 +0100 | [diff] [blame] | 21 | ) |
| 22 | |
| 23 | target_include_directories(${TGT} |
| 24 | PUBLIC |
| 25 | "${CMAKE_CURRENT_LIST_DIR}/caller/sp/" |
| 26 | ) |
| 27 | |