Move variable that's unused in an NDEBUG build inside the DEBUG() macro, fixing
[llvm.git] / examples / CMakeLists.txt
blobf60c0eda030612b50e69b91b6532e3abf2a82f8d
1 add_subdirectory(BrainF)
2 add_subdirectory(Fibonacci)
3 add_subdirectory(HowToUseJIT)
4 add_subdirectory(Kaleidoscope)
5 add_subdirectory(ModuleMaker)
7 if( NOT WIN32 )
8     add_subdirectory(ExceptionDemo)
9 endif()
11 include(CheckIncludeFile)
12 check_include_file(pthread.h HAVE_PTHREAD_H)
14 if( HAVE_PTHREAD_H )
15   add_subdirectory(ParallelJIT)
16 endif( HAVE_PTHREAD_H )