blob: 7540178f8804e14a39cae22bc907a7df7c6ec98f [file] [log] [blame]
julhal013ec4c322021-02-05 17:30:49 +00001#-------------------------------------------------------------------------------
2# Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7cmake_minimum_required(VERSION 3.16)
8include(../../deployment.cmake REQUIRED)
9
10#-------------------------------------------------------------------------------
11# The CMakeLists.txt for building the ts-remote-test deployment for arm-linux
12#
13#-------------------------------------------------------------------------------
14include(${TS_ROOT}/environments/arm-linux/env.cmake)
15project(trusted-services LANGUAGES CXX C)
16add_executable(ts-remote-test)
17target_include_directories(ts-remote-test PRIVATE "${TOP_LEVEL_INCLUDE_DIRS}")
18
19#-------------------------------------------------------------------------------
20# Extend with components that are common across all deployments of
21# ts-remote-test
22#
23#-------------------------------------------------------------------------------
24include(../ts-remote-test.cmake REQUIRED)
25
26#-------------------------------------------------------------------------------
27# Define library options and dependencies.
28#
29#-------------------------------------------------------------------------------
30env_set_link_options(TGT ts-remote-test)
31target_link_libraries(ts-remote-test PRIVATE stdc++ gcc m)