llvm-6502/examples/ExceptionDemo/CMakeLists.txt
NAKAMURA Takumi 15ce777898 Rework r233647, "llvm/examples: Suppress building a few JIT examples."
It didn't work with "install".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233708 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-31 16:41:25 +00:00

22 lines
321 B
CMake

set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
MC
MCJIT
RuntimeDyld
Support
nativecodegen
)
# Enable EH and RTTI for this demo
set(LLVM_REQUIRES_EH 1)
set(LLVM_REQUIRES_RTTI 1)
set(LLVM_BUILD_EXAMPLES OFF)
add_llvm_example(ExceptionDemo
ExceptionDemo.cpp
)
export_executable_symbols(ExceptionDemo)