summaryrefslogtreecommitdiff
path: root/src/vm/crossgen_mscorlib/mscorlib_crossgen.nativeproj
blob: 67e6f4acd2e4d390627e460e9c828504214a8e71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="dogfood">

    <PropertyGroup>
      <!-- Work around problems with loading System.Private.CoreLib.dll, -->
      <!-- caused by inconsistent setting of UseLegacyCompiler and FeatureSpanOfT -->
      <!-- between System.Private.CoreLib.dll and the runtime. -->
      <UseLegacyCompiler>true</UseLegacyCompiler>
    </PropertyGroup>

    <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\xplat\SetCrossGen.props" />

    <PropertyGroup>
        <!-- Pretend that we are not crossgen compiling to pick up defines matching the target -->
        <CrossGenCompile>false</CrossGenCompile>

        <CDefines>$(CDefines);CROSSGEN_MSCORLIB</CDefines>
    </PropertyGroup>

    <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.props" />

    <PropertyGroup>
        <BuildSysBinaries>true</BuildSysBinaries>
        <OutputName>mscorlib_crossgen</OutputName>
        <OutputPath>$(ClrLibDest)</OutputPath>
        <TargetType>LIBRARY</TargetType>
    </PropertyGroup>

    <ItemGroup>
        <CppCompile Include="..\Mscorlib.cpp" />
    </ItemGroup>

    <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.targets" />

</Project>