Julian Hall | dd29622 | 2021-05-27 15:31:32 +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 | cmake_minimum_required(VERSION 3.16) |
| 8 | include(../../../deployment.cmake REQUIRED) |
| 9 | |
| 10 | #------------------------------------------------------------------------------- |
Julian Hall | d407138 | 2021-07-07 16:45:53 +0100 | [diff] [blame^] | 11 | # The CMakeLists.txt for building the psa-api-test deployment for arm-linux |
Julian Hall | dd29622 | 2021-05-27 15:31:32 +0100 | [diff] [blame] | 12 | # |
| 13 | # Used for building and running psa arch tests on an Arm based Linux device |
| 14 | #------------------------------------------------------------------------------- |
| 15 | include(${TS_ROOT}/environments/arm-linux/env.cmake) |
| 16 | project(trusted-services LANGUAGES CXX C) |
Julian Hall | d407138 | 2021-07-07 16:45:53 +0100 | [diff] [blame^] | 17 | add_executable(psa-api-test) |
| 18 | target_include_directories(psa-api-test PRIVATE "${TOP_LEVEL_INCLUDE_DIRS}") |
Julian Hall | dd29622 | 2021-05-27 15:31:32 +0100 | [diff] [blame] | 19 | |
| 20 | #------------------------------------------------------------------------------- |
| 21 | # Extend with components that are common across all deployments of |
Julian Hall | d407138 | 2021-07-07 16:45:53 +0100 | [diff] [blame^] | 22 | # psa-api-test/crypto |
Julian Hall | dd29622 | 2021-05-27 15:31:32 +0100 | [diff] [blame] | 23 | #------------------------------------------------------------------------------- |
Julian Hall | d407138 | 2021-07-07 16:45:53 +0100 | [diff] [blame^] | 24 | include(../crypto-api-test.cmake REQUIRED) |