workflows: Fix typo in pr-subscriber
[llvm-project.git] / llvm / unittests / CMakeLists.txt
blob46f30ff398e10db20cf69f94eb2c7458119963b0
1 add_custom_target(UnitTests)
2 set_target_properties(UnitTests PROPERTIES FOLDER "Tests/UnitTests")
4 function(add_llvm_unittest test_dirname)
5   add_unittest(UnitTests ${test_dirname} ${ARGN})
6 endfunction()
7 function(add_llvm_unittest_with_input_files test_dirname)
8   add_unittest_with_input_files(UnitTests ${test_dirname} ${ARGN})
9 endfunction()
11 # The target unittests may test APIs that aren't exported in libLLVM.so, so
12 # we need to always link against the static libraries.
13 function(add_llvm_target_unittest test_dir_name)
14   add_llvm_unittest(${test_dir_name} DISABLE_LLVM_LINK_LLVM_DYLIB ${ARGN})
15 endfunction()
17 add_subdirectory(ADT)
18 add_subdirectory(Analysis)
19 add_subdirectory(AsmParser)
20 add_subdirectory(BinaryFormat)
21 add_subdirectory(Bitcode)
22 add_subdirectory(Bitstream)
23 add_subdirectory(CodeGen)
24 add_subdirectory(DebugInfo)
25 add_subdirectory(Debuginfod)
26 add_subdirectory(Demangle)
27 add_subdirectory(DWARFLinkerParallel)
28 add_subdirectory(ExecutionEngine)
29 add_subdirectory(FileCheck)
30 add_subdirectory(Frontend)
31 add_subdirectory(FuzzMutate)
32 add_subdirectory(InterfaceStub)
33 add_subdirectory(IR)
34 add_subdirectory(LineEditor)
35 add_subdirectory(Linker)
36 add_subdirectory(MC)
37 add_subdirectory(MI)
38 add_subdirectory(MIR)
39 add_subdirectory(ObjCopy)
40 add_subdirectory(Object)
41 add_subdirectory(ObjectYAML)
42 add_subdirectory(Option)
43 add_subdirectory(Remarks)
44 add_subdirectory(Passes)
45 add_subdirectory(ProfileData)
46 add_subdirectory(Support)
47 add_subdirectory(TableGen)
48 add_subdirectory(Target)
49 add_subdirectory(TargetParser)
50 add_subdirectory(Testing)
51 add_subdirectory(TextAPI)
52 add_subdirectory(Transforms)
53 add_subdirectory(XRay)
54 add_subdirectory(tools)