OSDN Git Service

[ORC] Add custom IR compiler configuration to LLJITBuilder to enable obj caches.
[android-x86/external-llvm.git] / examples / LLJITExamples / LLJITWithObjectCache / CMakeLists.txt
diff --git a/examples/LLJITExamples/LLJITWithObjectCache/CMakeLists.txt b/examples/LLJITExamples/LLJITWithObjectCache/CMakeLists.txt
new file mode 100644 (file)
index 0000000..4c9680a
--- /dev/null
@@ -0,0 +1,11 @@
+set(LLVM_LINK_COMPONENTS
+  Core
+  IRReader
+  OrcJIT
+  Support
+  nativecodegen
+  )
+
+add_llvm_example(LLJITWithObjectCache
+  LLJITWithObjectCache.cpp
+  )