aboutsummaryrefslogtreecommitdiff
path: root/deployments/ts-demo/linux-pc/CMakeLists.txt
blob: 4d49adc29d1c49ca140bfba3b9184ea848e2bfb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#-------------------------------------------------------------------------------
# Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
#-------------------------------------------------------------------------------
cmake_minimum_required(VERSION 3.16)
include(../../deployment.cmake REQUIRED)

#-------------------------------------------------------------------------------
#  The CMakeLists.txt for building the ts-demo deployment for linux-pc
#
#  Used for building and running service level tests from Linux user-space
#  on an Arm platform with real deployments of trusted services.
#-------------------------------------------------------------------------------
include(${TS_ROOT}/environments/linux-pc/env.cmake)
project(trusted-services LANGUAGES CXX C)
add_executable(ts-demo)
target_include_directories(ts-demo PRIVATE "${TOP_LEVEL_INCLUDE_DIRS}")

#-------------------------------------------------------------------------------
#  Extend with components that are common across all deployments of
#  ts-demo
#
#-------------------------------------------------------------------------------
include(../ts-demo.cmake REQUIRED)