From: NAKAMURA Takumi Date: Tue, 31 Mar 2015 16:41:25 +0000 (+0000) Subject: Rework r233647, "llvm/examples: Suppress building a few JIT examples." X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=15ce777898cb3b57e4bf1f338607c4395c7090ac Rework r233647, "llvm/examples: Suppress building a few JIT examples." It didn't work with "install". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233708 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/examples/ExceptionDemo/CMakeLists.txt b/examples/ExceptionDemo/CMakeLists.txt index f1715be4156..b4354f66f0d 100644 --- a/examples/ExceptionDemo/CMakeLists.txt +++ b/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/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/examples/Kaleidoscope/Chapter7/CMakeLists.txt index 9a6f14da2c8..23aba6510b8 100644 --- a/examples/Kaleidoscope/Chapter7/CMakeLists.txt +++ b/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/examples/Kaleidoscope/Chapter8/CMakeLists.txt b/examples/Kaleidoscope/Chapter8/CMakeLists.txt index a8b8daf615f..90c79c0b9ae 100644 --- a/examples/Kaleidoscope/Chapter8/CMakeLists.txt +++ b/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