summaryrefslogtreecommitdiffstats
path: root/llvm/examples
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2008-09-22 01:08:49 +0000
committerOscar Fuentes <ofv@wanadoo.es>2008-09-22 01:08:49 +0000
commita229b3c9a78a54d73b9188f729f6dc4a0412ca0b (patch)
tree5ee5be099522e12eb686deb47734dc1cd6469606 /llvm/examples
parent91ef8fcd29e6baff721dabc494e65a5eabade386 (diff)
downloadbcm5719-llvm-a229b3c9a78a54d73b9188f729f6dc4a0412ca0b.tar.gz
bcm5719-llvm-a229b3c9a78a54d73b9188f729f6dc4a0412ca0b.zip
Initial support for the CMake build system.
llvm-svn: 56419
Diffstat (limited to 'llvm/examples')
-rw-r--r--llvm/examples/CMakeLists.txt1
-rw-r--r--llvm/examples/Fibonacci/CMakeLists.txt5
2 files changed, 6 insertions, 0 deletions
diff --git a/llvm/examples/CMakeLists.txt b/llvm/examples/CMakeLists.txt
new file mode 100644
index 00000000000..392e59d9895
--- /dev/null
+++ b/llvm/examples/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory(Fibonacci) \ No newline at end of file
diff --git a/llvm/examples/Fibonacci/CMakeLists.txt b/llvm/examples/Fibonacci/CMakeLists.txt
new file mode 100644
index 00000000000..693761241fc
--- /dev/null
+++ b/llvm/examples/Fibonacci/CMakeLists.txt
@@ -0,0 +1,5 @@
+set(LLVM_LINK_COMPONENTS jit interpreter nativecodegen)
+
+add_llvm_example(Fibonacci
+ fibonacci.cpp
+ )
OpenPOWER on IntegriCloud