summaryrefslogtreecommitdiff
path: root/examples/Kaleidoscope/Chapter8/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Kaleidoscope/Chapter8/CMakeLists.txt')
-rw-r--r--examples/Kaleidoscope/Chapter8/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/examples/Kaleidoscope/Chapter8/CMakeLists.txt b/examples/Kaleidoscope/Chapter8/CMakeLists.txt
new file mode 100644
index 000000000000..1a9577223992
--- /dev/null
+++ b/examples/Kaleidoscope/Chapter8/CMakeLists.txt
@@ -0,0 +1,18 @@
+set(LLVM_LINK_COMPONENTS
+ Analysis
+ Core
+ ExecutionEngine
+ InstCombine
+ MC
+ ScalarOpts
+ Support
+ TransformUtils
+ native
+ mcjit
+ )
+
+set(LLVM_REQUIRES_RTTI 1)
+
+add_kaleidoscope_chapter(Kaleidoscope-Ch8
+ toy.cpp
+ )