[llvm] r179518 - Enable all targets by default on Visual Studio.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Apr 15 07:51:39 PDT 2013


this is awesome, thanks!

On 15 April 2013 07:53, Tim Northover <Tim.Northover at arm.com> wrote:
> Author: tnorthover
> Date: Mon Apr 15 06:53:05 2013
> New Revision: 179518
>
> URL: http://llvm.org/viewvc/llvm-project?rev=179518&view=rev
> Log:
> Enable all targets by default on Visual Studio.
>
> Modified:
>     llvm/trunk/CMakeLists.txt
>     llvm/trunk/docs/CMake.rst
>
> Modified: llvm/trunk/CMakeLists.txt
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=179518&r1=179517&r2=179518&view=diff
> ==============================================================================
> --- llvm/trunk/CMakeLists.txt (original)
> +++ llvm/trunk/CMakeLists.txt Mon Apr 15 06:53:05 2013
> @@ -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.")
>
> Modified: llvm/trunk/docs/CMake.rst
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CMake.rst?rev=179518&r1=179517&r2=179518&view=diff
> ==============================================================================
> --- llvm/trunk/docs/CMake.rst (original)
> +++ llvm/trunk/docs/CMake.rst Mon Apr 15 06:53:05 2013
> @@ -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
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list