Added LLVM_ENABLE_RTTI and LLVM_ENABLE_EH options that allow RTTI and EH
[oota-llvm.git] / examples / ExceptionDemo / CMakeLists.txt
1 set(LLVM_LINK_COMPONENTS
2   Core
3   ExecutionEngine
4   MCJIT
5   Support
6   nativecodegen
7   )
8
9 # Enable EH and RTTI for this demo
10 set(LLVM_REQUIRES_EH 1)
11 set(LLVM_REQUIRES_RTTI 1)
12
13 add_llvm_example(ExceptionDemo
14   ExceptionDemo.cpp
15   )
16
17 set_target_properties(ExceptionDemo PROPERTIES ENABLE_EXPORTS 1)