Recommit r246175 - Add Kaleidoscope regression tests, with a fix to make sure
[oota-llvm.git] / examples / Kaleidoscope / Chapter7 / CMakeLists.txt
index cdb13c465d14c7e5cda8689ca0a00c0ac3106119..e67d7928efe79539522bb8e955de6c522469aa31 100644 (file)
@@ -3,16 +3,15 @@ set(LLVM_LINK_COMPONENTS
   Core
   ExecutionEngine
   InstCombine
-  JIT
-  MC
+  Object
+  RuntimeDyld
   ScalarOpts
   Support
-  TransformUtils
-  nativecodegen
+  native
   )
 
-set(LLVM_REQUIRES_RTTI 1)
-
-add_llvm_example(Kaleidoscope-Ch7
+add_kaleidoscope_chapter(Kaleidoscope-Ch7
   toy.cpp
   )
+
+export_executable_symbols(Kaleidoscope-Ch7)