aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-04-15 11:53:05 +0000
committerTim Northover <Tim.Northover@arm.com>2013-04-15 11:53:05 +0000
commiteaa752f5e1c10fc7fdbfb7f497a75c623677cb1e (patch)
treefcb8667557f0d7f7d2c798d661c736d9a3af8978
parent60d20a81fcf91818db6b52520dd2ce520ad57a42 (diff)
downloadexternal_llvm-eaa752f5e1c10fc7fdbfb7f497a75c623677cb1e.zip
external_llvm-eaa752f5e1c10fc7fdbfb7f497a75c623677cb1e.tar.gz
external_llvm-eaa752f5e1c10fc7fdbfb7f497a75c623677cb1e.tar.bz2
Enable all targets by default on Visual Studio.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179518 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--CMakeLists.txt7
-rw-r--r--docs/CMake.rst4
2 files changed, 3 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1d21692..c8c3038 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -91,13 +91,8 @@ set(LLVM_ALL_TARGETS
# List of targets with JIT support:
set(LLVM_TARGETS_WITH_JIT X86 PowerPC ARM Mips)
-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 "all"
+set(LLVM_TARGETS_TO_BUILD "all"
CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
-endif( MSVC )
set(LLVM_EXPERIMENTAL_TARGETS_TO_BUILD ""
CACHE STRING "Semicolon-separated list of experimental targets to build.")
diff --git a/docs/CMake.rst b/docs/CMake.rst
index fb081d7..991e4ba 100644
--- a/docs/CMake.rst
+++ b/docs/CMake.rst
@@ -168,8 +168,8 @@ LLVM-specific variables
**LLVM_TARGETS_TO_BUILD**:STRING
Semicolon-separated list of targets to build, or *all* for building all
- targets. Case-sensitive. For Visual C++ defaults to *X86*. On the other cases
- defaults to *all*. Example: ``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC"``.
+ targets. Case-sensitive. Defaults to *all*. Example:
+ ``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC"``.
**LLVM_BUILD_TOOLS**:BOOL
Build LLVM tools. Defaults to ON. Targets for building each tool are generated