brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.1 KiB · a943297 Raw
74 lines · plain
1include(LLVM-Build)2 3# `Demangle', `Support' and `TableGen' libraries are added on the top-level4# CMakeLists.txt5 6add_subdirectory(IR)7add_subdirectory(FuzzMutate)8add_subdirectory(FileCheck)9add_subdirectory(InterfaceStub)10add_subdirectory(IRPrinter)11add_subdirectory(IRReader)12add_subdirectory(CAS)13add_subdirectory(CGData)14add_subdirectory(CodeGen)15add_subdirectory(CodeGenTypes)16add_subdirectory(BinaryFormat)17add_subdirectory(Bitcode)18add_subdirectory(Bitstream)19add_subdirectory(DWARFLinker)20add_subdirectory(Extensions)21add_subdirectory(Frontend)22add_subdirectory(Transforms)23add_subdirectory(Linker)24add_subdirectory(Analysis)25add_subdirectory(LTO)26add_subdirectory(MC)27add_subdirectory(MCA)28add_subdirectory(ObjCopy)29add_subdirectory(Object)30add_subdirectory(ObjectYAML)31add_subdirectory(Option)32add_subdirectory(Remarks)33add_subdirectory(Debuginfod)34add_subdirectory(DebugInfo)35add_subdirectory(DWARFCFIChecker)36add_subdirectory(DWP)37add_subdirectory(ExecutionEngine)38add_subdirectory(Target)39add_subdirectory(SandboxIR)40add_subdirectory(AsmParser)41add_subdirectory(LineEditor)42add_subdirectory(ProfileData)43add_subdirectory(Passes)44add_subdirectory(TargetParser)45add_subdirectory(TextAPI)46add_subdirectory(Telemetry)47add_subdirectory(ToolDrivers)48add_subdirectory(XRay)49if (LLVM_INCLUDE_TESTS)50  add_subdirectory(Testing)51endif()52add_subdirectory(WindowsDriver)53add_subdirectory(WindowsManifest)54 55set(LLVMCONFIGLIBRARYDEPENDENCIESINC "${LLVM_BINARY_DIR}/tools/llvm-config/LibraryDependencies.inc")56 57# Special components which don't have any source attached but aggregate other58# components59add_llvm_component_group(all-targets LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD})60add_llvm_component_group(Engine)61 62# The native target may not be enabled when cross compiling63if(TARGET ${LLVM_NATIVE_ARCH})64  add_llvm_component_group(Native LINK_COMPONENTS ${LLVM_NATIVE_ARCH})65  add_llvm_component_group(NativeCodeGen LINK_COMPONENTS ${LLVM_NATIVE_ARCH}CodeGen)66else()67  add_llvm_component_group(Native)68  add_llvm_component_group(NativeCodeGen)69endif()70 71# Component post-processing72LLVMBuildResolveComponentsLink()73LLVMBuildGenerateCFragment(OUTPUT ${LLVMCONFIGLIBRARYDEPENDENCIESINC})74