summaryrefslogtreecommitdiffstats
path: root/llvm/examples/CMakeLists.txt
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
commit9e3f7dbedabd337cdb18446eb4897a0fb404211f (patch)
tree7e3c2d2616c42d01054c4fccd3f90989ac939459 /llvm/examples/CMakeLists.txt
parentc0f4d00d67b2c0a910c7a038da6d6ff97ec1e047 (diff)
downloadbcm5719-llvm-9e3f7dbedabd337cdb18446eb4897a0fb404211f.tar.gz
bcm5719-llvm-9e3f7dbedabd337cdb18446eb4897a0fb404211f.zip
CMake: Builds all examples. Corrected name of CBackend target.
llvm-svn: 56682
Diffstat (limited to 'llvm/examples/CMakeLists.txt')
-rw-r--r--llvm/examples/CMakeLists.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/llvm/examples/CMakeLists.txt b/llvm/examples/CMakeLists.txt
index 392e59d9895..fa91149755c 100644
--- a/llvm/examples/CMakeLists.txt
+++ b/llvm/examples/CMakeLists.txt
@@ -1 +1,11 @@
-add_subdirectory(Fibonacci) \ No newline at end of file
+add_subdirectory(BrainF)
+add_subdirectory(Fibonacci)
+add_subdirectory(HowToUseJIT)
+add_subdirectory(ModuleMaker)
+
+include(CheckIncludeFile)
+check_include_file(pthread.h HAVE_PTHREAD_H)
+
+if( HAVE_PTHREAD_H )
+ add_subdirectory(ParallelJIT)
+endif( HAVE_PTHREAD_H )
OpenPOWER on IntegriCloud