X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FIR%2FCMakeLists.txt;h=38a80b18bd5ea496671192e93f672c045bc78033;hb=c636a42d4a72e8f6017298787b07a6ef0019bed8;hp=06eab0e8f0266caec2d8d3e87b2e74ac11c91a82;hpb=c2c50cdcdc19a1bca993c06d13d8cdca87083ce4;p=oota-llvm.git diff --git a/lib/IR/CMakeLists.txt b/lib/IR/CMakeLists.txt index 06eab0e8f02..38a80b18bd5 100644 --- a/lib/IR/CMakeLists.txt +++ b/lib/IR/CMakeLists.txt @@ -3,19 +3,24 @@ add_llvm_library(LLVMCore Attributes.cpp AutoUpgrade.cpp BasicBlock.cpp + Comdat.cpp ConstantFold.cpp + ConstantRange.cpp Constants.cpp Core.cpp + DIBuilder.cpp DataLayout.cpp DebugInfo.cpp DebugLoc.cpp - DIBuilder.cpp + DiagnosticInfo.cpp + DiagnosticPrinter.cpp Dominators.cpp Function.cpp GCOV.cpp GVMaterializer.cpp Globals.cpp IRBuilder.cpp + IRPrintingPasses.cpp InlineAsm.cpp Instruction.cpp Instructions.cpp @@ -23,15 +28,16 @@ add_llvm_library(LLVMCore LLVMContext.cpp LLVMContextImpl.cpp LeakDetector.cpp + LegacyPassManager.cpp + MDBuilder.cpp + Mangler.cpp Metadata.cpp Module.cpp Pass.cpp PassManager.cpp PassRegistry.cpp - PrintModulePass.cpp Type.cpp TypeFinder.cpp - TargetTransformInfo.cpp Use.cpp User.cpp Value.cpp @@ -40,13 +46,4 @@ add_llvm_library(LLVMCore Verifier.cpp ) -# Workaround: It takes over 20 minutes to compile with msvc10. -# FIXME: Suppressing optimizations to core libraries would not be good thing. -if( MSVC_VERSION LESS 1700 ) -set_property( - SOURCE Function.cpp - PROPERTY COMPILE_FLAGS "/Og-" - ) -endif() - add_dependencies(LLVMCore intrinsics_gen)