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