aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ModuleMaker
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/ModuleMaker
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/ModuleMaker')
-rw-r--r--examples/ModuleMaker/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/ModuleMaker/CMakeLists.txt b/examples/ModuleMaker/CMakeLists.txt
new file mode 100644
index 0000000..81e9115
--- /dev/null
+++ b/examples/ModuleMaker/CMakeLists.txt
@@ -0,0 +1,5 @@
+set(LLVM_LINK_COMPONENTS bitwriter)
+
+add_llvm_example(ModuleMaker
+ ModuleMaker.cpp
+ )