Prevented ExceptionDemo example being built on WINDOWS via if( NOT WIN32 )
authorGarrison Venn <gvenn.cfe.dev@gmail.com>
Wed, 10 Feb 2010 02:50:08 +0000 (02:50 +0000)
committerGarrison Venn <gvenn.cfe.dev@gmail.com>
Wed, 10 Feb 2010 02:50:08 +0000 (02:50 +0000)
check in examples cmake list file. This has NOT been tested.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95761 91177308-0d34-0410-b5e6-96231b3b80d8

examples/CMakeLists.txt

index b54adeb9be1f4df56c46597f510a86d434189cb4..f60c0eda030612b50e69b91b6532e3abf2a82f8d 100644 (file)
@@ -3,7 +3,10 @@ add_subdirectory(Fibonacci)
 add_subdirectory(HowToUseJIT)
 add_subdirectory(Kaleidoscope)
 add_subdirectory(ModuleMaker)
 add_subdirectory(HowToUseJIT)
 add_subdirectory(Kaleidoscope)
 add_subdirectory(ModuleMaker)
-add_subdirectory(ExceptionDemo)
+
+if( NOT WIN32 )
+    add_subdirectory(ExceptionDemo)
+endif()
 
 include(CheckIncludeFile)
 check_include_file(pthread.h HAVE_PTHREAD_H)
 
 include(CheckIncludeFile)
 check_include_file(pthread.h HAVE_PTHREAD_H)