53 lines · plain
1#===-- unittests/Runtime/CMakeLists.txt ------------------------------------===#2#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-exception6#7#===------------------------------------------------------------------------===#8 9add_flangrt_unittest(RuntimeTests10 AccessTest.cpp11 Allocatable.cpp12 ArrayConstructor.cpp13 Assign.cpp14 BufferTest.cpp15 CharacterTest.cpp16 CommandTest.cpp17 Complex.cpp18 CrashHandlerFixture.cpp19 Derived.cpp20 Descriptor.cpp21 ExternalIOTest.cpp22 Format.cpp23 InputExtensions.cpp24 Inquiry.cpp25 ListInputTest.cpp26 LogicalFormatTest.cpp27 Matmul.cpp28 MatmulTranspose.cpp29 MiscIntrinsic.cpp30 Namelist.cpp31 Numeric.cpp32 NumericalFormatTest.cpp33 Pointer.cpp34 Ragged.cpp35 Random.cpp36 Reduction.cpp37 RuntimeCrashTest.cpp38 Stop.cpp39 Support.cpp40 Time.cpp41 TemporaryStack.cpp42 Transformational.cpp43 TypeCode.cpp44 45 LINK_LIBS46 flang_rt.runtime.unittest47)48target_compile_definitions(RuntimeTests PRIVATE NOT_EXE="${LLVM_TOOLS_DIR}/not${CMAKE_EXECUTABLE_SUFFIX}")49 50if (FLANG_RT_INCLUDE_CUF)51 add_subdirectory(CUDA)52endif ()53