aboutsummaryrefslogtreecommitdiffstats
path: root/examples/BrainF
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2008-09-26 19:48:03 +0000
committerOscar Fuentes <ofv@wanadoo.es>2008-09-26 19:48:03 +0000
commitdbc2e856fce973243d2dfba88d573d3c88f06020 (patch)
tree979cbee4a308e05095045e55f4fc1c399eb2b153 /examples/BrainF
parentdfe8c84e1e7be1ec4f7303d3d056fb106ab28437 (diff)
downloadexternal_llvm-dbc2e856fce973243d2dfba88d573d3c88f06020.zip
external_llvm-dbc2e856fce973243d2dfba88d573d3c88f06020.tar.gz
external_llvm-dbc2e856fce973243d2dfba88d573d3c88f06020.tar.bz2
CMake: Builds all examples. Corrected name of CBackend target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/BrainF')
-rw-r--r--examples/BrainF/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/BrainF/CMakeLists.txt b/examples/BrainF/CMakeLists.txt
new file mode 100644
index 0000000..7bec105
--- /dev/null
+++ b/examples/BrainF/CMakeLists.txt
@@ -0,0 +1,6 @@
+set(LLVM_LINK_COMPONENTS jit bitwriter nativecodegen interpreter)
+
+add_llvm_example(BrainF
+ BrainF.cpp
+ BrainFDriver.cpp
+ )