add_llvm_loadable_module( libGNUObjCRuntime
  ClassIMPCache.cpp
  ClassMethodInliner.cpp
  IvarPass.cpp
  ObjectiveCOpts.cpp
  TypeFeedbackDrivenInliner.cpp
  ClassLookupCache.cpp
  IMPCacher.cpp
  LoopIMPCachePass.cpp
  TypeFeedback.cpp
)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-variadic-macros -DLLVM_MAJOR=3 -DLLVM_MINOR=0")

add_llvm_library_dependencies( libGNUObjCRuntime
  LLVMAnalysis
  LLVMCore
  LLVMSupport
  LLVMTarget
  LLVMipa
  LLVMipo
)

Allow to build the optimizations for llvm with cmake. OK loong time ago from David.
Allow to build the optimizations for llvm with cmake.
OK loong time ago from David.



git-svn-id: f6517e426f81db5247881cd92f7386583ace04fa@34814 72102866-910b-0410-8b05-ffd578937521
