mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 11:49:00 +08:00
Merge branch 'x86-disable-ninja'
This commit is contained in:
commit
c07e3b26f2
@ -5,9 +5,15 @@ function(vcpkg_configure_cmake)
|
||||
message(FATAL_ERROR "Vcpkg has been updated with VS2017 support, however you need to rebuild vcpkg.exe by re-running bootstrap-vcpkg.bat\n")
|
||||
endif()
|
||||
|
||||
if(ENV{PROCESSOR_ARCHITEW6432})
|
||||
set(_csc_HOST_ARCHITECTURE $ENV{PROCESSOR_ARCHITEW6432})
|
||||
else()
|
||||
set(_csc_HOST_ARCHITECTURE $ENV{PROCESSOR_ARCHITECTURE})
|
||||
endif()
|
||||
|
||||
if(_csc_GENERATOR)
|
||||
set(GENERATOR ${_csc_GENERATOR})
|
||||
elseif(_csc_PREFER_NINJA AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
elseif(_csc_PREFER_NINJA AND NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" AND NOT _csc_HOST_ARCHITECTURE STREQUAL "x86")
|
||||
set(GENERATOR "Ninja")
|
||||
elseif(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore" AND TRIPLET_SYSTEM_ARCH MATCHES "x86" AND VCPKG_PLATFORM_TOOLSET MATCHES "v140")
|
||||
set(GENERATOR "Visual Studio 14 2015")
|
||||
|
@ -46,6 +46,7 @@ namespace vcpkg::System
|
||||
L"OS",
|
||||
L"PATHEXT",
|
||||
L"PROCESSOR_ARCHITECTURE",
|
||||
L"PROCESSOR_ARCHITEW6432",
|
||||
L"PROCESSOR_IDENTIFIER",
|
||||
L"PROCESSOR_LEVEL",
|
||||
L"PROCESSOR_REVISION",
|
||||
|
Loading…
Reference in New Issue
Block a user