julhal01 | 3ec4c32 | 2021-02-05 17:30:49 +0000 | [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 | #------------------------------------------------------------------------------- |
| 11 | # The CMakeLists.txt for building the ts-remote-test deployment for arm-linux |
| 12 | # |
| 13 | #------------------------------------------------------------------------------- |
| 14 | include(${TS_ROOT}/environments/arm-linux/env.cmake) |
| 15 | project(trusted-services LANGUAGES CXX C) |
| 16 | add_executable(ts-remote-test) |
| 17 | target_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 | #------------------------------------------------------------------------------- |
| 24 | include(../ts-remote-test.cmake REQUIRED) |
| 25 | |
| 26 | #------------------------------------------------------------------------------- |
| 27 | # Define library options and dependencies. |
| 28 | # |
| 29 | #------------------------------------------------------------------------------- |
| 30 | env_set_link_options(TGT ts-remote-test) |
| 31 | target_link_libraries(ts-remote-test PRIVATE stdc++ gcc m) |