Rework r233647, "llvm/examples: Suppress building a few JIT examples."
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 31 Mar 2015 16:41:25 +0000 (16:41 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 31 Mar 2015 16:41:25 +0000 (16:41 +0000)
It didn't work with "install".

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

examples/ExceptionDemo/CMakeLists.txt
examples/Kaleidoscope/Chapter7/CMakeLists.txt
examples/Kaleidoscope/Chapter8/CMakeLists.txt

index f1715be..b4354f6 100644 (file)
@@ -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
index 9a6f14d..23aba65 100644 (file)
@@ -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
index a8b8daf..90c79c0 100644 (file)
@@ -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