blob: db59599d5d44377bf71ae3d4dd2147aff75d272d [file] [log] [blame]
Julian Halleff4b282020-11-23 18:24:12 +01001#-------------------------------------------------------------------------------
Balint Dobszay047aea82022-05-16 14:20:53 +02002# Copyright (c) 2020-2022, Arm Limited and Contributors. All rights reserved.
Julian Halleff4b282020-11-23 18:24:12 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
Balint Dobszay047aea82022-05-16 14:20:53 +02007cmake_minimum_required(VERSION 3.18 FATAL_ERROR)
Julian Halleff4b282020-11-23 18:24:12 +01008include(../../deployment.cmake REQUIRED)
9
10#-------------------------------------------------------------------------------
11# The CMakeLists.txt for building the ts-demo deployment for arm-linux
12#
13# Used for building and running service level tests from Linux user-space
14# on an Arm platform with real deployments of trusted services.
15#-------------------------------------------------------------------------------
16include(${TS_ROOT}/environments/arm-linux/env.cmake)
17project(trusted-services LANGUAGES CXX C)
18add_executable(ts-demo)
19target_include_directories(ts-demo PRIVATE "${TOP_LEVEL_INCLUDE_DIRS}")
20
21#-------------------------------------------------------------------------------
22# Extend with components that are common across all deployments of
23# ts-demo
24#
25#-------------------------------------------------------------------------------
26include(../ts-demo.cmake REQUIRED)
27
28#-------------------------------------------------------------------------------
29# Define library options and dependencies.
30#
31#-------------------------------------------------------------------------------
Julian Halleff4b282020-11-23 18:24:12 +010032target_link_libraries(ts-demo PRIVATE stdc++ gcc m)