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
This commit is contained in:
Tim Northover 2013-04-15 11:53:05 +00:00
parent 60d20a81fc
commit eaa752f5e1
2 changed files with 3 additions and 8 deletions

View File

@ -91,13 +91,8 @@ set(LLVM_ALL_TARGETS
# List of targets with JIT support: # List of targets with JIT support:
set(LLVM_TARGETS_WITH_JIT X86 PowerPC ARM Mips) set(LLVM_TARGETS_WITH_JIT X86 PowerPC ARM Mips)
if( MSVC ) set(LLVM_TARGETS_TO_BUILD "all"
set(LLVM_TARGETS_TO_BUILD X86
CACHE STRING "Semicolon-separated list of targets to build, or \"all\".") CACHE STRING "Semicolon-separated list of targets to build, or \"all\".")
else( MSVC )
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 "" set(LLVM_EXPERIMENTAL_TARGETS_TO_BUILD ""
CACHE STRING "Semicolon-separated list of experimental targets to build.") CACHE STRING "Semicolon-separated list of experimental targets to build.")

View File

@ -168,8 +168,8 @@ LLVM-specific variables
**LLVM_TARGETS_TO_BUILD**:STRING **LLVM_TARGETS_TO_BUILD**:STRING
Semicolon-separated list of targets to build, or *all* for building all 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 targets. Case-sensitive. Defaults to *all*. Example:
defaults to *all*. Example: ``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC"``. ``-DLLVM_TARGETS_TO_BUILD="X86;PowerPC"``.
**LLVM_BUILD_TOOLS**:BOOL **LLVM_BUILD_TOOLS**:BOOL
Build LLVM tools. Defaults to ON. Targets for building each tool are generated Build LLVM tools. Defaults to ON. Targets for building each tool are generated