summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/examples/Hello
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-07-25 17:25:10 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-07-25 17:25:10 +0000
commitdb96ee8bbf6e333190db019ddee032e7fc2474fa (patch)
tree2160cff4434dab6814a0481ffd094afb1ea9e9af /llvm/tools/llvmc/examples/Hello
parent4623678a75143e955c940be09723276239b9ef8a (diff)
downloadbcm5719-llvm-db96ee8bbf6e333190db019ddee032e7fc2474fa.tar.gz
bcm5719-llvm-db96ee8bbf6e333190db019ddee032e7fc2474fa.zip
Builds llvmc and its examples with CMake.
Patch by arrowdodger! llvm-svn: 135919
Diffstat (limited to 'llvm/tools/llvmc/examples/Hello')
-rw-r--r--llvm/tools/llvmc/examples/Hello/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/tools/llvmc/examples/Hello/CMakeLists.txt b/llvm/tools/llvmc/examples/Hello/CMakeLists.txt
new file mode 100644
index 00000000000..5679924bdb3
--- /dev/null
+++ b/llvm/tools/llvmc/examples/Hello/CMakeLists.txt
@@ -0,0 +1,4 @@
+set(LLVM_USED_LIBS CompilerDriver)
+set(LLVM_LINK_COMPONENTS support)
+
+add_llvm_example(Hello Hello.cpp)
OpenPOWER on IntegriCloud