CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.
[oota-llvm.git] / examples / CMakeLists.txt
1 add_subdirectory(BrainF)
2 add_subdirectory(Fibonacci)
3 add_subdirectory(HowToUseJIT)
4 add_subdirectory(Kaleidoscope)
5 add_subdirectory(ModuleMaker)
6
7 if( NOT WIN32 )
8     add_subdirectory(ExceptionDemo)
9 endif()
10
11 include(CheckIncludeFile)
12 check_include_file(pthread.h HAVE_PTHREAD_H)
13
14 if( HAVE_PTHREAD_H )
15   add_subdirectory(ParallelJIT)
16 endif( HAVE_PTHREAD_H )