Add ability to cross compile (#9374)

`-CrossGen` won`t work, but this gives basic ability to build for another platform.
This also means you cannot really package for another platform.
This commit is contained in:
Travis Plunk
2019-04-16 14:14:29 -07:00
committed by GitHub
parent 73114ee36c
commit cee1e54e75
3 changed files with 34 additions and 18 deletions
+1 -1
View File
@@ -111,7 +111,7 @@
<PropertyGroup>
<DefineConstants>$(DefineConstants);CORECLR</DefineConstants>
<IsWindows Condition="'$(OS)' == 'Windows_NT'">true</IsWindows>
<IsWindows Condition="'$(IsWindows)' =='true' or ( '$(IsWindows)' == '' and '$(OS)' == 'Windows_NT')">true</IsWindows>
</PropertyGroup>
<!-- Define non-windows, all configuration properties -->