llvm-6502/tools/llvm-jitlistener/CMakeLists.txt
Rafael Espindola 643de689aa Fix build with -DLLVM_USE_INTEL_JITEVENTS=ON -DLLVM_USE_OPROFILE=ON.
Is anyone using those?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241372 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-03 21:47:00 +00:00

22 lines
405 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
DebugInfoDWARF
inteljitevents
interpreter
irreader
mcjit
nativecodegen
object
selectiondag
)
add_llvm_tool(llvm-jitlistener
llvm-jitlistener.cpp
)