summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/CMakeLists.txt')
-rw-r--r--llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/CMakeLists.txt b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/CMakeLists.txt
new file mode 100644
index 00000000000..4cc558c5fd2
--- /dev/null
+++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/CMakeLists.txt
@@ -0,0 +1,18 @@
+set(LLVM_LINK_COMPONENTS
+ Analysis
+ Core
+ ExecutionEngine
+ InstCombine
+ Object
+ OrcJIT
+ RuntimeDyld
+ ScalarOpts
+ Support
+ native
+ )
+
+add_kaleidoscope_chapter(BuildingAJIT-Ch3
+ toy.cpp
+ )
+
+export_executable_symbols(BuildingAJIT-Ch3)
OpenPOWER on IntegriCloud