Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

441 B
Raw Blame
# Copyright (C) 2018-2026 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

function(debug_message)
    if(CMAKE_VERBOSE_MAKEFILE)
        message(${ARGV})
    endif()
endfunction()

function(clean_message type)
    string(REPLACE ";" "" output_string "${ARGN}")
    execute_process(COMMAND ${CMAKE_COMMAND} -E echo "${output_string}")
    if(${ARGV0} STREQUAL "FATAL_ERROR")
        message (FATAL_ERROR)
    endif()
endfunction()