-set(LLVM_REQUIRES_RTTI 1)
-
add_llvm_library(LLVMCore
AsmWriter.cpp
Attributes.cpp
ConstantFold.cpp
Constants.cpp
Core.cpp
+ DataLayout.cpp
+ DebugInfo.cpp
DebugLoc.cpp
+ DIBuilder.cpp
Dominators.cpp
Function.cpp
GCOV.cpp
PassRegistry.cpp
PrintModulePass.cpp
Type.cpp
+ TypeFinder.cpp
+ TargetTransformInfo.cpp
Use.cpp
User.cpp
Value.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 EQUAL 1600 )
+if( MSVC_VERSION LESS 1700 )
set_property(
SOURCE Function.cpp
PROPERTY COMPILE_FLAGS "/Og-"