llvm-project/llvm/examples/ExceptionDemo/CMakeLists.txt

16 lines
235 B
CMake

set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
MCJIT
Support
nativecodegen
)
set(LLVM_REQUIRES_EH 1)
add_llvm_example(ExceptionDemo
ExceptionDemo.cpp
)
set_target_properties(ExceptionDemo PROPERTIES ENABLE_EXPORTS 1)