| ##===----------------------------------------------------------------------===## |
| # |
| # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| # See https://llvm.org/LICENSE.txt for license information. |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| # |
| ##===----------------------------------------------------------------------===## |
| # |
| # Build plugins for the user system if available. |
| # |
| ##===----------------------------------------------------------------------===## |
| |
| add_subdirectory(common) |
| add_subdirectory(amdgpu) |
| add_subdirectory(cuda) |
| add_subdirectory(host) |
| |
| # Make sure the parent scope can see the plugins that will be created. |
| set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS}" PARENT_SCOPE) |
| set(LIBOMPTARGET_TESTED_PLUGINS "${LIBOMPTARGET_TESTED_PLUGINS}" PARENT_SCOPE) |