AVX-512: added all forms of VPSHUFD and VPSHUFHW, VPSHUFLW
[oota-llvm.git] / examples / ExceptionDemo / CMakeLists.txt
index 5324acd21eabd4a0668679db8d67399327beab0e..b4354f66f0d6697e0e6eaf9198368af65820d7f5 100644 (file)
@@ -1,15 +1,21 @@
 set(LLVM_LINK_COMPONENTS
   Core
   ExecutionEngine
+  MC
   MCJIT
+  RuntimeDyld
   Support
   nativecodegen
   )
 
+# Enable EH and RTTI for this demo
 set(LLVM_REQUIRES_EH 1)
+set(LLVM_REQUIRES_RTTI 1)
+
+set(LLVM_BUILD_EXAMPLES OFF)
 
 add_llvm_example(ExceptionDemo
   ExceptionDemo.cpp
   )
 
-set_target_properties(ExceptionDemo PROPERTIES ENABLE_EXPORTS 1)
+export_executable_symbols(ExceptionDemo)