17 lines · plain
1set(OPENMP_TOOLS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR}" CACHE PATH2 "Path for binary subdirectory (defaults to '${CMAKE_INSTALL_BINDIR}')")3mark_as_advanced(OPENMP_TOOLS_INSTALL_DIR)4 5# Move these macros to AddOpenMP if such a CMake module is ever created.6 7macro(add_openmp_tool name)8 llvm_add_tool(OPENMP ${ARGV})9endmacro()10 11macro(add_openmp_tool_symlink name)12 llvm_add_tool_symlink(OPENMP ${ARGV})13endmacro()14 15add_subdirectory(deviceinfo)16add_subdirectory(kernelreplay)17