summaryrefslogtreecommitdiff
path: root/src/md/winmd/WinMD.settings.targets
blob: 58fa8ee682395ba324305c9fc396fd1b563f636b (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    
    <!--
        We build MetaData in several flavors:
          - Full version (wks) - part of clr.dll/coreclr.dll.
          - dac version - does not need Emit APIs.
          - Standalone versions for:
            * mscordbi.dll (hands the interfaces over to debugger client (e.g. VS) - does not need Emit APIs.
            * CorDbg - does not need Emit APIs.
            * WinRT
                - Read-Only version (ships in Windows) - does not need Emit and Internal APIs.
                - Read-Writer version (ships as private component of MidlRt.exe SDK tool) - does not need Internal APIs.
    -->
    
    <!--Import the settings-->
    <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\src\MD\MD.props" />
    
    <PropertyGroup>
        <MDWinMDSrcDirectory>$(ClrSrcDirectory)\MD\WinMD\</MDWinMDSrcDirectory>
        <UserIncludes>
            $(UserIncludes);
            $(ClrSrcDirectory)\MD\inc;
            $(ClrSrcDirectory)\vm;
            $(ClrSrcDirectory)\strongname\inc
        </UserIncludes>
        <ClAdditionalOptions>$(ClAdditionalOptions) -DUNICODE -D_UNICODE</ClAdditionalOptions>
        <!--OK to delete NO_NTDLL for devdiv builds.-->
        <OutputPath>$(ClrLibDest)</OutputPath>
        <TargetType>LIBRARY</TargetType>
        <PCHHeader>stdafx.h</PCHHeader>
        <EnableCxxPCHHeaders>true</EnableCxxPCHHeaders>
        <!--PCH: Both precompiled header and cpp are on the same ..\ path this is likely to be wrong.-->
        <PCHCompile>$(MDWinMDSrcDirectory)\stdafx.cpp</PCHCompile>
        <PCHObject>stdafx_winmd.obj</PCHObject>
        <LinkUseCMT>false</LinkUseCMT>
    </PropertyGroup>

    <ItemGroup>
        <ProjectReference Include="$(ClrSrcDirectory)inc\corguids.nativeproj">
            <Comment>clrinternal.h</Comment>
        </ProjectReference>
    </ItemGroup>

    <ItemGroup>
        <CppCompile Include="$(MDWinMDSrcDirectory)\Adapter.cpp" />
        <CppCompile Include="$(MDWinMDSrcDirectory)\WinMDImport.cpp" />
        <CppCompile Include="$(MDWinMDSrcDirectory)\WinMDInternalImportRO.cpp" />
    </ItemGroup>
</Project>