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