1add_llvm_library(LLVMCore 2 AsmWriter.cpp 3 Attributes.cpp 4 AutoUpgrade.cpp 5 BasicBlock.cpp 6 Comdat.cpp 7 ConstantFold.cpp 8 ConstantRange.cpp 9 Constants.cpp 10 Core.cpp 11 DIBuilder.cpp 12 DataLayout.cpp 13 DebugInfo.cpp 14 DebugInfoMetadata.cpp 15 DebugLoc.cpp 16 DiagnosticInfo.cpp 17 DiagnosticPrinter.cpp 18 Dominators.cpp 19 Function.cpp 20 GCOV.cpp 21 GVMaterializer.cpp 22 Globals.cpp 23 IRBuilder.cpp 24 IRPrintingPasses.cpp 25 InlineAsm.cpp 26 Instruction.cpp 27 Instructions.cpp 28 IntrinsicInst.cpp 29 LLVMContext.cpp 30 LLVMContextImpl.cpp 31 LegacyPassManager.cpp 32 MDBuilder.cpp 33 Mangler.cpp 34 Metadata.cpp 35 MetadataTracking.cpp 36 Module.cpp 37 Operator.cpp 38 Pass.cpp 39 PassManager.cpp 40 PassRegistry.cpp 41 Statepoint.cpp 42 FunctionInfo.cpp 43 Type.cpp 44 TypeFinder.cpp 45 Use.cpp 46 User.cpp 47 Value.cpp 48 ValueSymbolTable.cpp 49 ValueTypes.cpp 50 Verifier.cpp 51 52 ADDITIONAL_HEADER_DIRS 53 ${LLVM_MAIN_INCLUDE_DIR}/llvm/IR 54 ) 55 56# PR24785: Workaround for hanging compilation. 57if( MSVC_VERSION EQUAL 1800) 58 set_property( 59 SOURCE Function.cpp 60 PROPERTY COMPILE_FLAGS "/Og-" 61 ) 62endif() 63 64add_dependencies(LLVMCore intrinsics_gen) 65