[TableGen] Remove dead code. NFC.
[oota-llvm.git] / examples / Kaleidoscope / Chapter8 / CMakeLists.txt
index 053916f441d9da00805c0171ea19b0586cb2d28a..d9b5cc421be397e6a7df382b4901505caec67f6d 100644 (file)
@@ -1,17 +1,13 @@
 set(LLVM_LINK_COMPONENTS
-  Analysis
   Core
   ExecutionEngine
-  InstCombine
-  MC
-  ScalarOpts
+  Object
   Support
-  TransformUtils
-  nativecodegen
+  native
   )
 
-set(LLVM_REQUIRES_RTTI 1)
-
-add_llvm_example(Kaleidoscope-Ch8
+add_kaleidoscope_chapter(Kaleidoscope-Ch8
   toy.cpp
   )
+
+export_executable_symbols(Kaleidoscope-Ch8)