1# 2#//===----------------------------------------------------------------------===// 3#// 4#// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5#// See https://llvm.org/LICENSE.txt for license information. 6#// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7#// 8#//===----------------------------------------------------------------------===// 9# 10 11# void libomptarget_say(string message_to_user); 12# - prints out message_to_user 13macro(libomptarget_say message_to_user) 14 message(STATUS "LIBOMPTARGET: ${message_to_user}") 15endmacro() 16 17# void libomptarget_warning_say(string message_to_user); 18# - prints out message_to_user with a warning 19macro(libomptarget_warning_say message_to_user) 20 message(WARNING "LIBOMPTARGET: ${message_to_user}") 21endmacro() 22 23# void libomptarget_error_say(string message_to_user); 24# - prints out message_to_user with an error and exits cmake 25macro(libomptarget_error_say message_to_user) 26 message(FATAL_ERROR "LIBOMPTARGET: ${message_to_user}") 27endmacro() 28