mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 12:08:33 +00:00
a042c235bb
* Added LLVM libraries required for IntelJITEvents to LLVMBuild.txt. * Removed 'jit' library from llvm-jitlistener. * Added support for OptionalLibraries to llvm-build cmake files generator. Patch by aleksey.a.bader@intel.com Differential Revision: http://reviews.llvm.org/D5646 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220848 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
400 B
CMake
22 lines
400 B
CMake
# This tool is excluded from the CMake build if Intel JIT events are disabled.
|
|
|
|
link_directories( ${LLVM_INTEL_JITEVENTS_LIBDIR} )
|
|
include_directories( ${LLVM_INTEL_JITEVENTS_INCDIR} )
|
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
asmparser
|
|
bitreader
|
|
debuginfo
|
|
inteljitevents
|
|
interpreter
|
|
irreader
|
|
mcjit
|
|
nativecodegen
|
|
object
|
|
selectiondag
|
|
)
|
|
|
|
add_llvm_tool(llvm-jitlistener
|
|
llvm-jitlistener.cpp
|
|
)
|