Rewrite the CMake build to use explicit dependencies between libraries,
[oota-llvm.git] / lib / ExecutionEngine / JIT / CMakeLists.txt
1 # TODO: Support other architectures. See Makefile.
2 add_definitions(-DENABLE_X86_JIT)
3
4 add_llvm_library(LLVMJIT
5   Intercept.cpp
6   JIT.cpp
7   JITDebugRegisterer.cpp
8   JITDwarfEmitter.cpp
9   JITEmitter.cpp
10   JITMemoryManager.cpp
11   OProfileJITEventListener.cpp
12   )
13
14 add_llvm_library_dependencies(LLVMJIT
15   LLVMCore
16   LLVMExecutionEngine
17   LLVMRuntimeDyld
18   LLVMSupport
19   LLVMTarget
20   )