blob: a08a7c30bd8afd4eb6e7f3f5a0241f3e67098f87 [file] [log] [blame]
NAKAMURA Takumib5c4b8762013-12-10 11:13:32 +00001set(LLVM_LINK_COMPONENTS
2 Core
3 ExecutionEngine
4 MCJIT
5 Support
6 nativecodegen
7 )
8
Dan Liewa5bdc842014-07-22 15:41:18 +00009# Enable EH and RTTI for this demo
Oscar Fuentes889c1e72010-10-17 02:26:16 +000010set(LLVM_REQUIRES_EH 1)
Dan Liewa5bdc842014-07-22 15:41:18 +000011set(LLVM_REQUIRES_RTTI 1)
Michael J. Spencer93c9b2e2010-09-13 23:59:48 +000012
Garrison Vennf4d2f842010-02-09 23:22:43 +000013add_llvm_example(ExceptionDemo
14 ExceptionDemo.cpp
15 )
Rafael Espindola03ee04b2013-04-26 19:07:40 +000016
17set_target_properties(ExceptionDemo PROPERTIES ENABLE_EXPORTS 1)