Add Kaleidoscope regression tests.
[oota-llvm.git] / examples / Kaleidoscope / Chapter5 / CMakeLists.txt
index 138cf0c0969aa4895cae0570460980c6f860ce00..c0ae70654c363cfecfbf8b3e08d622a64d99f87c 100644 (file)
@@ -3,13 +3,15 @@ set(LLVM_LINK_COMPONENTS
   Core
   ExecutionEngine
   InstCombine
-  MC
+  Object
+  RuntimeDyld
   ScalarOpts
   Support
-  nativecodegen
-  mcjit
+  native
   )
 
-add_llvm_example(Kaleidoscope-Ch5
+add_kaleidoscope_chapter(Kaleidoscope-Ch5
   toy.cpp
   )
+
+export_executable_symbols(Kaleidoscope-Ch5)