Julian Hall | eaa9a67 | 2021-07-12 12:39:13 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | #------------------------------------------------------------------------------- |
| 9 | # Common build configuration for all psa-api-test deployments. |
| 10 | #------------------------------------------------------------------------------- |
| 11 | |
| 12 | # Prevents symbols in the psa-api-test executable overriding symbols with |
| 13 | # with same name in libts during dyanmic linking performed by the program |
| 14 | # loader. This avoid psa crypto api symbols provided by the mbedcrypto |
| 15 | # library from being overridden by the same symbols in the psa-api-test |
| 16 | # executable. |
| 17 | set(CMAKE_C_VISIBILITY_PRESET hidden) |