#===-- lib/CMakeLists.txt --------------------------------------------------===# # # 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 # #===------------------------------------------------------------------------===# if (FLANG_RT_ENABLE_STATIC OR FLANG_RT_ENABLE_SHARED) add_subdirectory(quadmath) add_subdirectory(runtime) if ("openmp" IN_LIST LLVM_ENABLE_RUNTIMES) add_subdirectory(openmp) endif() if (FLANG_RT_INCLUDE_CUF) add_subdirectory(cuda) endif() else () # Generate modules files only, skip the libraries add_subdirectory(runtime) endif () if (FLANG_RT_INCLUDE_TESTS) add_subdirectory(Testing) endif ()