blob: 7c35cd4c80b9325e3e201972ea15982b4d61c90a [file]
set(OFFLOAD_TOOLS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR}" CACHE PATH
"Path for binary subdirectory (defaults to '${CMAKE_INSTALL_BINDIR}')")
mark_as_advanced(OFFLOAD_TOOLS_INSTALL_DIR)
macro(add_offload_tool name)
llvm_add_tool(OFFLOAD ${ARGV})
endmacro()
macro(add_offload_tool_symlink name)
llvm_add_tool_symlink(OFFLOAD ${ARGV})
endmacro()
add_subdirectory(deviceinfo)
# kernelreplay requires libomptarget which is not available on Windows
if(BUILD_LIBOMPTARGET)
add_subdirectory(kernelreplay)
endif()