diff options
author | Mike Danes <onemihaid@hotmail.com> | 2015-08-01 11:04:16 +0300 |
---|---|---|
committer | Mike Danes <onemihaid@hotmail.com> | 2015-08-04 11:00:34 +0300 |
commit | 8bb8ed66e4e54270e18e68c37515f21730c82cea (patch) | |
tree | a8f713371002b0a037965b4020ffd254a1de73aa /src/binder | |
parent | fd1fbb93e8435c371dea39f16c0cf6d030b8c7dd (diff) | |
download | coreclr-8bb8ed66e4e54270e18e68c37515f21730c82cea.tar.gz coreclr-8bb8ed66e4e54270e18e68c37515f21730c82cea.tar.bz2 coreclr-8bb8ed66e4e54270e18e68c37515f21730c82cea.zip |
Enable the Windows x86 build
This allows building the Windows x86 version of CoreCLR by using "x86" for the BuildArch parameter of build.cmd. Note that CMAKE_SYSTEM_PROCESSOR is no longer used in Windows builds to set IS_64BIT_BUILD.
This change is enough to get CoreCLR to build but more changes are required for it to actually run correctly. In particular, the JIT compiler support for x86 is pretty limited at this point.
Diffstat (limited to 'src/binder')
-rw-r--r-- | src/binder/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/binder/CMakeLists.txt b/src/binder/CMakeLists.txt index b624d9fafa..5dbd09dac4 100644 --- a/src/binder/CMakeLists.txt +++ b/src/binder/CMakeLists.txt @@ -2,12 +2,14 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) if(CLR_CMAKE_PLATFORM_ARCH_AMD64) include_directories(BEFORE "../vm/amd64") +elseif(CLR_CMAKE_PLATFORM_ARCH_I386) + include_directories(BEFORE "../vm/i386") elseif(CLR_CMAKE_PLATFORM_ARCH_ARM) include_directories(BEFORE "../vm/arm") elseif(CLR_CMAKE_PLATFORM_ARCH_ARM64) include_directories(BEFORE "../vm/arm64") else() - message(FATAL_ERROR "Only ARM, ARM64 and AMD64 is supported") + clr_unknown_arch() endif() include_directories(BEFORE "../vm") include_directories(BEFORE "inc") |