diff --git a/examples/ExceptionDemo/CMakeLists.txt b/examples/ExceptionDemo/CMakeLists.txt index 0908892a16c..f1715be4156 100644 --- a/examples/ExceptionDemo/CMakeLists.txt +++ b/examples/ExceptionDemo/CMakeLists.txt @@ -12,6 +12,8 @@ set(LLVM_LINK_COMPONENTS set(LLVM_REQUIRES_EH 1) set(LLVM_REQUIRES_RTTI 1) +set(EXCLUDE_FROM_ALL ON) + add_llvm_example(ExceptionDemo ExceptionDemo.cpp ) diff --git a/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/examples/Kaleidoscope/Chapter7/CMakeLists.txt index dd181471be1..9a6f14da2c8 100644 --- a/examples/Kaleidoscope/Chapter7/CMakeLists.txt +++ b/examples/Kaleidoscope/Chapter7/CMakeLists.txt @@ -13,6 +13,8 @@ set(LLVM_LINK_COMPONENTS set(LLVM_REQUIRES_RTTI 1) +set(EXCLUDE_FROM_ALL ON) + add_kaleidoscope_chapter(Kaleidoscope-Ch7 toy.cpp ) diff --git a/examples/Kaleidoscope/Chapter8/CMakeLists.txt b/examples/Kaleidoscope/Chapter8/CMakeLists.txt index 6491599770b..a8b8daf615f 100644 --- a/examples/Kaleidoscope/Chapter8/CMakeLists.txt +++ b/examples/Kaleidoscope/Chapter8/CMakeLists.txt @@ -9,6 +9,8 @@ set(LLVM_LINK_COMPONENTS set(LLVM_REQUIRES_RTTI 1) +set(EXCLUDE_FROM_ALL ON) + add_kaleidoscope_chapter(Kaleidoscope-Ch8 toy.cpp )