mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
3c0f5d4efb
longer would violate any dependency layering and it is in fact an analysis. =] llvm-svn: 171686
52 lines
942 B
CMake
52 lines
942 B
CMake
add_llvm_library(LLVMCore
|
|
AsmWriter.cpp
|
|
Attributes.cpp
|
|
AutoUpgrade.cpp
|
|
BasicBlock.cpp
|
|
ConstantFold.cpp
|
|
Constants.cpp
|
|
Core.cpp
|
|
DataLayout.cpp
|
|
DebugInfo.cpp
|
|
DebugLoc.cpp
|
|
DIBuilder.cpp
|
|
Dominators.cpp
|
|
Function.cpp
|
|
GCOV.cpp
|
|
GVMaterializer.cpp
|
|
Globals.cpp
|
|
IRBuilder.cpp
|
|
InlineAsm.cpp
|
|
Instruction.cpp
|
|
Instructions.cpp
|
|
IntrinsicInst.cpp
|
|
LLVMContext.cpp
|
|
LLVMContextImpl.cpp
|
|
LeakDetector.cpp
|
|
Metadata.cpp
|
|
Module.cpp
|
|
Pass.cpp
|
|
PassManager.cpp
|
|
PassRegistry.cpp
|
|
PrintModulePass.cpp
|
|
Type.cpp
|
|
TypeFinder.cpp
|
|
Use.cpp
|
|
User.cpp
|
|
Value.cpp
|
|
ValueSymbolTable.cpp
|
|
ValueTypes.cpp
|
|
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)
|