[Orc][Kaleidoscope] Clean up the Orc/Kaleidoscope tutorials to minimize the diffs
[oota-llvm.git] / examples / ExceptionDemo / CMakeLists.txt
index d6619155684341eec5e3f9daa3d2342d9aa56e84..9cadd94c24a59be9bfc24fb833c02eab249c927f 100644 (file)
@@ -1,5 +1,18 @@
-set(LLVM_LINK_COMPONENTS jit nativecodegen)
+set(LLVM_LINK_COMPONENTS
+  Core
+  ExecutionEngine
+  MC
+  MCJIT
+  Support
+  nativecodegen
+  )
+
+# Enable EH and RTTI for this demo
+set(LLVM_REQUIRES_EH 1)
+set(LLVM_REQUIRES_RTTI 1)
 
 add_llvm_example(ExceptionDemo
   ExceptionDemo.cpp
   )
+
+set_target_properties(ExceptionDemo PROPERTIES ENABLE_EXPORTS 1)