X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=examples%2FCMakeLists.txt;fp=examples%2FCMakeLists.txt;h=fa91149755c68243c222e4ba36bc74a4f7ecf42a;hp=392e59d9895271e7e1c0adcab264c2a7b29c7ea5;hb=dbc2e856fce973243d2dfba88d573d3c88f06020;hpb=dfe8c84e1e7be1ec4f7303d3d056fb106ab28437 diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 392e59d9895..fa91149755c 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 )