From: Chandler Carruth Date: Tue, 13 Dec 2011 02:19:11 +0000 (+0000) Subject: Don't default the *cached* list of targets to build to an explicit list X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6f20c61e07b570ad95fec81437972d653b362e63;p=oota-llvm.git Don't default the *cached* list of targets to build to an explicit list of the targets we know about. Because this is cached, rebuilds won't detect when new targets show up. It's also a bit simpler to just say "all". If users want to restrict the target set, they can still do so, and then the cache will preserve what they have explicitly set this field to. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146467 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index d0dfbde0d84..ec42120d10e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ if( MSVC ) set(LLVM_TARGETS_TO_BUILD X86 CACHE STRING "Semicolon-separated list of targets to build, or \"all\".") else( MSVC ) - set(LLVM_TARGETS_TO_BUILD ${LLVM_ALL_TARGETS} + set(LLVM_TARGETS_TO_BUILD "all" CACHE STRING "Semicolon-separated list of targets to build, or \"all\".") endif( MSVC )