From eaa752f5e1c10fc7fdbfb7f497a75c623677cb1e Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Mon, 15 Apr 2013 11:53:05 +0000 Subject: [PATCH] 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 --- CMakeLists.txt | 7 +------ docs/CMake.rst | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d216924b15..c8c3038eba0 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 +set(LLVM_TARGETS_TO_BUILD "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 "" CACHE STRING "Semicolon-separated list of experimental targets to build.") diff --git a/docs/CMake.rst b/docs/CMake.rst index fb081d7b98c..991e4ba6da9 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