2 #//===----------------------------------------------------------------------===//
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
8 #//===----------------------------------------------------------------------===//
11 # void libomptarget_say(string message_to_user);
12 # - prints out message_to_user
13 macro(libomptarget_say message_to_user)
14 message(STATUS "LIBOMPTARGET: ${message_to_user}")
17 # void libomptarget_warning_say(string message_to_user);
18 # - prints out message_to_user with a warning
19 macro(libomptarget_warning_say message_to_user)
20 message(WARNING "LIBOMPTARGET: ${message_to_user}")
23 # void libomptarget_error_say(string message_to_user);
24 # - prints out message_to_user with an error and exits cmake
25 macro(libomptarget_error_say message_to_user)
26 message(FATAL_ERROR "LIBOMPTARGET: ${message_to_user}")