summaryrefslogtreecommitdiffstats
path: root/llvm/examples
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-03-31 16:41:25 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-03-31 16:41:25 +0000
commitcb9aed3ec06afcf877beea7f762f6bd8072d950e (patch)
tree07911b992dee1a41ff98fe72652f84b6984a6c4b /llvm/examples
parent89608af26d362042265b7136b9b5f5fcbf0e5078 (diff)
downloadbcm5719-llvm-cb9aed3ec06afcf877beea7f762f6bd8072d950e.tar.gz
bcm5719-llvm-cb9aed3ec06afcf877beea7f762f6bd8072d950e.zip
Rework r233647, "llvm/examples: Suppress building a few JIT examples."
It didn't work with "install". llvm-svn: 233708
Diffstat (limited to 'llvm/examples')
-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, 3 insertions, 3 deletions
diff --git a/llvm/examples/ExceptionDemo/CMakeLists.txt b/llvm/examples/ExceptionDemo/CMakeLists.txt
index f1715be4156..b4354f66f0d 100644
--- a/llvm/examples/ExceptionDemo/CMakeLists.txt
+++ b/llvm/examples/ExceptionDemo/CMakeLists.txt
@@ -12,7 +12,7 @@ set(LLVM_LINK_COMPONENTS
set(LLVM_REQUIRES_EH 1)
set(LLVM_REQUIRES_RTTI 1)
-set(EXCLUDE_FROM_ALL ON)
+set(LLVM_BUILD_EXAMPLES OFF)
add_llvm_example(ExceptionDemo
ExceptionDemo.cpp
diff --git a/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
index 9a6f14da2c8..23aba6510b8 100644
--- a/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
+++ b/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
@@ -13,7 +13,7 @@ set(LLVM_LINK_COMPONENTS
set(LLVM_REQUIRES_RTTI 1)
-set(EXCLUDE_FROM_ALL ON)
+set(LLVM_BUILD_EXAMPLES OFF)
add_kaleidoscope_chapter(Kaleidoscope-Ch7
toy.cpp
diff --git a/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt
index a8b8daf615f..90c79c0b9ae 100644
--- a/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt
+++ b/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt
@@ -9,7 +9,7 @@ set(LLVM_LINK_COMPONENTS
set(LLVM_REQUIRES_RTTI 1)
-set(EXCLUDE_FROM_ALL ON)
+set(LLVM_BUILD_EXAMPLES OFF)
add_kaleidoscope_chapter(Kaleidoscope-Ch8
toy.cpp
OpenPOWER on IntegriCloud