blob: d964903858785678486317059e3451279197c3ca [file] [log] [blame]
George Rokos2467df62017-01-25 21:27:24 +00001#
2#//===----------------------------------------------------------------------===//
3#//
4#// The LLVM Compiler Infrastructure
5#//
6#// This file is dual licensed under the MIT and the University of Illinois Open
7#// Source Licenses. See LICENSE.txt for details.
8#//
9#//===----------------------------------------------------------------------===//
10#
11
12# void libomptarget_say(string message_to_user);
13# - prints out message_to_user
14macro(libomptarget_say message_to_user)
15 message(STATUS "LIBOMPTARGET: ${message_to_user}")
16endmacro()
17
18# void libomptarget_warning_say(string message_to_user);
19# - prints out message_to_user with a warning
20macro(libomptarget_warning_say message_to_user)
21 message(WARNING "LIBOMPTARGET: ${message_to_user}")
22endmacro()
23
24# void libomptarget_error_say(string message_to_user);
25# - prints out message_to_user with an error and exits cmake
26macro(libomptarget_error_say message_to_user)
27 message(FATAL_ERROR "LIBOMPTARGET: ${message_to_user}")
28endmacro()