From dbc2e856fce973243d2dfba88d573d3c88f06020 Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Fri, 26 Sep 2008 19:48:03 +0000 Subject: 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 --- examples/CMakeLists.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'examples/CMakeLists.txt') diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 392e59d989..fa91149755 100644 --- a/examples/CMakeLists.txt +++ b/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 ) -- cgit v1.2.3