llvm-6502/tools/llvm-jitlistener/CMakeLists.txt
Michael Kuperstein a042c235bb Fix build with CMake if LLVM_USE_INTEL_JITEVENTS option is enabled
* 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
2014-10-29 09:18:49 +00:00

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
)