summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/examples/ExceptionDemo/CMakeLists.txt2
-rw-r--r--llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt2
-rw-r--r--llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt2
3 files changed, 6 insertions, 0 deletions
diff --git a/llvm/examples/ExceptionDemo/CMakeLists.txt b/llvm/examples/ExceptionDemo/CMakeLists.txt
index 0908892a16c..f1715be4156 100644
--- a/llvm/examples/ExceptionDemo/CMakeLists.txt
+++ b/llvm/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/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
index dd181471be1..9a6f14da2c8 100644
--- a/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
+++ b/llvm/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/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt
index 6491599770b..a8b8daf615f 100644
--- a/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt
+++ b/llvm/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
)
OpenPOWER on IntegriCloud