f1715be4156be1ab1907c7580164587fc6ee3c99
[oota-llvm.git] / examples / ExceptionDemo / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Core
3   ExecutionEngine
4   MC
5   MCJIT
6   RuntimeDyld
7   Support
8   nativecodegen
9   )
10
11 # Enable EH and RTTI for this demo
12 set(LLVM_REQUIRES_EH 1)
13 set(LLVM_REQUIRES_RTTI 1)
14
15 set(EXCLUDE_FROM_ALL ON)
16
17 add_llvm_example(ExceptionDemo
18   ExceptionDemo.cpp
19   )
20
21 export_executable_symbols(ExceptionDemo)