summaryrefslogtreecommitdiff
path: root/src/ToolBox/PdbTypeMatch/PdbTypeMatch.nativeproj
blob: fb2f71b36c582ae6862cc07683463b0812ae65f6 (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
50
51
52
53
54
55
56
57
58
59
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.props" />
  <PropertyGroup>    
    <ClCallingConvention>cdecl</ClCallingConvention>
    <OutputName>pdbtypematch</OutputName>
    <OutputPath>$(IntermediateOutputPath)</OutputPath>
    <TargetType>PROGRAM</TargetType>
    <LinkSubsystem>console</LinkSubsystem>
    <EntryPoint>wmain</EntryPoint>
    <UseStl>true</UseStl>     
    <PCHHeader>stdafx.h</PCHHeader>
    <EnableCxxPCHHeaders>true</EnableCxxPCHHeaders>
    <PCHCompile>stdafx.cpp</PCHCompile>    
    <PCHOutput>pdbtypematch.pch</PCHOutput>  
    <LinkAdditionalOptions>$(LinkAdditionalOptions) /DYNAMICBASE /NXCOMPAT /ALLOWISOLATION</LinkAdditionalOptions>        
    <CharacterSet>MultiByte</CharacterSet>    
    <PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>      
    <OutputPath>$(IntermediateOutputPath)</OutputPath>
    <UserIncludes>
        .;
        .\include;
        $(UserIncludes);      
    </UserIncludes>
    <LinkUseCMT>true</LinkUseCMT>
    <UseMsvcrt>false</UseMsvcrt>
    <AlwaysUseReleaseLibCMT>true</AlwaysUseReleaseLibCMT>
        <!--
            This would build (cl.exe) with /MT switch instead of default /MTd. However it works either way, so we do not need it now.
            It might be handy if we ever use some debug-only CRT features by accident.
            <ClRuntimeLibrary>MultiThreaded</ClRuntimeLibrary>
        -->    
                                                     
  </PropertyGroup>
  <!--Leaf Project Items-->
  <ItemGroup>
    <TargetLib Include="$(SdkLibPath)\ole32.lib" />
    <TargetLib Include="$(SdkLibPath)\oleaut32.lib" />
    <TargetLib Include="$(SdkLibPath)\Shlwapi.lib" />   
    <TargetLib Include="$(CrtLibPath)\comsupp.lib" />    
  </ItemGroup>
  <ItemGroup>
    <Reference Include="DiaLib">
      <ProjectReference>$(ClrSrcDirectory)toolbox\sos\diasdk\diasdk.nativeproj</ProjectReference>
      <HintPath>$(ClrIntraLibPath)\DiaLib.dll</HintPath>
    </Reference>
  </ItemGroup>
  <ItemGroup>       
    <CppCompile Include="PrintSymbol.cpp" />
    <CppCompile Include="regs.cpp" />
    <CppCompile Include="PdbTypeMatch.cpp" />         
  </ItemGroup> 

  <ItemGroup>
    <RCResourceFile Include="native.rc" />
  </ItemGroup>
  
  <!--Import the targets-->
  <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.targets" />
</Project>