1 ##===----------------------------------------------------------------------===##
3 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 # See https://llvm.org/LICENSE.txt for license information.
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 ##===----------------------------------------------------------------------===##
9 # Adding omptarget tools
11 ##===----------------------------------------------------------------------===##
13 set(OPENMP_TOOLS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR}" CACHE PATH
14 "Path for binary subdirectory (defaults to '${CMAKE_INSTALL_BINDIR}')")
15 mark_as_advanced(OPENMP_TOOLS_INSTALL_DIR)
17 # Move these macros to AddOpenMP if such a CMake module is ever created.
19 macro(add_openmp_tool name)
20 llvm_add_tool(OPENMP ${ARGV})
23 macro(add_openmp_tool_symlink name)
24 llvm_add_tool_symlink(OPENMP ${ARGV})
27 add_subdirectory(deviceinfo)
28 add_subdirectory(kernelreplay)