diff options
author | Jeremy Koritzinsky <jekoritz@microsoft.com> | 2021-04-05 19:28:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 19:28:04 +0300 |
commit | 8c2158f9fe12c82cd3c0a7f4150773654bc78aaf (patch) | |
tree | 44c037075204154c3e9c841177b2eae1b4177e59 /src/coreclr/runtime.proj | |
parent | b7a164882573af99eaf200c4b21808ecaf6dbb8c (diff) |
Make Ninja the default CMake generator on Windows for the repo (#49715)
Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com>
Diffstat (limited to 'src/coreclr/runtime.proj')
-rw-r--r-- | src/coreclr/runtime.proj | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/coreclr/runtime.proj b/src/coreclr/runtime.proj index c6f96405f4d..eb29aa04397 100644 --- a/src/coreclr/runtime.proj +++ b/src/coreclr/runtime.proj @@ -26,7 +26,8 @@ '$(PgoInstrument)' != 'true'" Include="-enforcepgo" /> <_CoreClrBuildArg Condition="$([MSBuild]::IsOsPlatform(Windows)) and '$(CrossDac)' != ''" Include="-$(CrossDac)dac" /> - <_CoreClrBuildArg Condition="'$(Ninja)' == 'true'" Include="-ninja" /> + <_CoreClrBuildArg Condition="'$(Ninja)' == 'true' and !$([MSBuild]::IsOsPlatform(Windows))" Include="-ninja" /> + <_CoreClrBuildArg Condition="'$(Ninja)' == 'false' and $([MSBuild]::IsOsPlatform(Windows))" Include="-msbuild" /> <_CoreClrBuildArg Condition="'$(ClrRuntimeSubset)' != 'true'" Include="-skipruntime" /> <_CoreClrBuildArg Condition="'$(ClrJitSubset)' != 'true'" Include="-skipjit" /> <_CoreClrBuildArg Condition="'$(ClrILToolsSubset)' != 'true'" Include="-skipiltools" /> |