From 865f4bcb5dde73d2bd35e99da6f92599ffee19d6 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. llvm-svn: 179518 --- llvm/CMakeLists.txt | 7 +------ llvm/docs/CMake.rst | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 1d21692..c8c3038 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/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/llvm/docs/CMake.rst b/llvm/docs/CMake.rst index fb081d7..991e4ba 100644 --- a/llvm/docs/CMake.rst +++ b/llvm/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 -- 2.7.4