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