2010-10-17 02:26:16 +00:00
|
|
|
set(LLVM_REQUIRES_RTTI 1)
|
|
|
|
|
2008-10-22 02:51:53 +00:00
|
|
|
add_llvm_library(LLVMCore
|
2008-09-22 01:08:49 +00:00
|
|
|
AsmWriter.cpp
|
2008-09-24 01:58:12 +00:00
|
|
|
Attributes.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
AutoUpgrade.cpp
|
|
|
|
BasicBlock.cpp
|
|
|
|
ConstantFold.cpp
|
|
|
|
Constants.cpp
|
|
|
|
Core.cpp
|
2012-06-28 00:18:12 +00:00
|
|
|
DebugInfo.cpp
|
2011-10-04 18:22:24 +00:00
|
|
|
DebugLoc.cpp
|
2012-06-29 09:01:47 +00:00
|
|
|
DIBuilder.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Dominators.cpp
|
|
|
|
Function.cpp
|
2011-10-04 18:22:24 +00:00
|
|
|
GCOV.cpp
|
2010-01-27 20:44:12 +00:00
|
|
|
GVMaterializer.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Globals.cpp
|
2010-01-27 20:44:12 +00:00
|
|
|
IRBuilder.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
InlineAsm.cpp
|
|
|
|
Instruction.cpp
|
|
|
|
Instructions.cpp
|
|
|
|
IntrinsicInst.cpp
|
2009-06-30 00:48:55 +00:00
|
|
|
LLVMContext.cpp
|
2010-03-21 21:17:34 +00:00
|
|
|
LLVMContextImpl.cpp
|
2009-07-15 21:08:16 +00:00
|
|
|
LeakDetector.cpp
|
2009-07-28 21:49:47 +00:00
|
|
|
Metadata.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Module.cpp
|
|
|
|
Pass.cpp
|
|
|
|
PassManager.cpp
|
2010-07-20 18:39:06 +00:00
|
|
|
PassRegistry.cpp
|
2008-10-21 23:52:03 +00:00
|
|
|
PrintModulePass.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Type.cpp
|
2012-08-03 00:30:35 +00:00
|
|
|
TypeFinder.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Use.cpp
|
2011-01-16 08:10:57 +00:00
|
|
|
User.cpp
|
2008-09-22 01:08:49 +00:00
|
|
|
Value.cpp
|
|
|
|
ValueSymbolTable.cpp
|
|
|
|
ValueTypes.cpp
|
|
|
|
Verifier.cpp
|
|
|
|
)
|
2012-06-24 03:48:29 +00:00
|
|
|
|
|
|
|
# Workaround: It takes over 20 minutes to compile with msvc10.
|
|
|
|
# FIXME: Suppressing optimizations to core libraries would not be good thing.
|
2012-08-30 16:22:26 +00:00
|
|
|
if( MSVC_VERSION LESS 1700 )
|
2012-06-24 03:48:29 +00:00
|
|
|
set_property(
|
|
|
|
SOURCE Function.cpp
|
|
|
|
PROPERTY COMPILE_FLAGS "/Og-"
|
|
|
|
)
|
|
|
|
endif()
|
2012-06-24 13:32:01 +00:00
|
|
|
|
|
|
|
add_dependencies(LLVMCore intrinsics_gen)
|