1#-------------------------------------------------------------------------------
2# Copyright (c) 2022, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-------------------------------------------------------------------------------
7
8set(CONFIG_TFM_BUILD_LOG_QUIET              OFF     CACHE BOOL      "Disable build logs")
9
10if(CONFIG_TFM_BUILD_LOG_QUIET)
11    set(CMAKE_INSTALL_MESSAGE               NEVER   CACHE BOOL      "Output installation message generated by the install() command[ALWAYS,LAZY,NEVER]")
12    set(CONFIG_TFM_PARTITION_QUIET          ON      CACHE BOOL      "Disable printing of partition configuration during build")
13    set(CONFIG_TFM_MEMORY_USAGE_QUIET       ON      CACHE BOOL      "Disable the memory usage report")
14    set(CONFIG_TFM_PARSE_MANIFEST_QUIET     ON      CACHE BOOL      "Parse manifest quietly")
15else()
16    set(CONFIG_TFM_PARTITION_QUIET          OFF     CACHE BOOL      "Disable printing of partition configuration during build")
17    set(CONFIG_TFM_MEMORY_USAGE_QUIET       OFF     CACHE BOOL      "Disable the memory usage report")
18    set(CONFIG_TFM_PARSE_MANIFEST_QUIET     OFF     CACHE BOOL      "Parse manifest quietly")
19endif()
20