CMake: Builds all examples. Corrected name of CBackend target.
[oota-llvm.git] / examples / CMakeLists.txt
1 add_subdirectory(BrainF)
2 add_subdirectory(Fibonacci)
3 add_subdirectory(HowToUseJIT)
4 add_subdirectory(ModuleMaker)
5
6 include(CheckIncludeFile)
7 check_include_file(pthread.h HAVE_PTHREAD_H)
8
9 if( HAVE_PTHREAD_H )
10   add_subdirectory(ParallelJIT)
11 endif( HAVE_PTHREAD_H )