1# 2# Arm SCP/MCP Software 3# Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. 4# 5# SPDX-License-Identifier: BSD-3-Clause 6# 7 8# 9# Build the debugger framework integration library. 10# 11 12add_library(debugger) 13 14target_compile_definitions(debugger PUBLIC "BUILD_HAS_DEBUGGER") 15 16target_include_directories(debugger 17 PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include") 18 19target_sources( 20 debugger 21 PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/checkpoint.c" 22 "${CMAKE_CURRENT_SOURCE_DIR}/src/cli/cli.c" 23 "${CMAKE_CURRENT_SOURCE_DIR}/src/cli/cli_commands_checkpoint.c" 24 "${CMAKE_CURRENT_SOURCE_DIR}/src/cli/cli_commands_core.c" 25 "${CMAKE_CURRENT_SOURCE_DIR}/src/cli/cli_fifo.c" 26 "${CMAKE_CURRENT_SOURCE_DIR}/src/cli/cli_platform_time.c") 27 28target_link_libraries(debugger PUBLIC framework) 29