blob: 789bddaca79560052534a2316677c89640b23019 [file] [log] [blame]
Julian Halleff4b282020-11-23 18:24:12 +01001#-------------------------------------------------------------------------------
2# Copyright (c) 2020, 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 component-test deployment for linux-pc
12#
13# Used for building and running component level tests in a native PC enviroment.
14# Tests can be run by running the built executable called "component-test"
15#-------------------------------------------------------------------------------
16include(${TS_ROOT}/environments/linux-pc/env.cmake)
17project(trusted-services LANGUAGES CXX C)
18add_executable(component-test)
19target_include_directories(component-test PRIVATE "${TOP_LEVEL_INCLUDE_DIRS}")
20
21#-------------------------------------------------------------------------------
22# Extend with components that are common across all deployments of
23# component-test
24#
25#-------------------------------------------------------------------------------
26include(../component-test.cmake REQUIRED)