Add common cmake config for psa-api-test deployments

To avoid duplication between different psa-api-test deployment build
files, a common cmake configuration file has been added that should be
included early on by all psa-api-test deployment CMakeLists.txt.

Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: I52a5ad10672ed68175a4a8058547369b7039f784
diff --git a/deployments/psa-api-test/psa-api-test-config.cmake b/deployments/psa-api-test/psa-api-test-config.cmake
new file mode 100644
index 0000000..450eb18
--- /dev/null
+++ b/deployments/psa-api-test/psa-api-test-config.cmake
@@ -0,0 +1,17 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+
+#-------------------------------------------------------------------------------
+#  Common build configuration for all psa-api-test deployments.
+#-------------------------------------------------------------------------------
+
+# Prevents symbols in the psa-api-test executable overriding symbols with
+# with same name in libts during dyanmic linking performed by the program
+# loader.  This avoid psa crypto api symbols provided by the mbedcrypto
+# library from being overridden by the same symbols in the psa-api-test
+# executable.
+set(CMAKE_C_VISIBILITY_PRESET hidden)