summaryrefslogtreecommitdiff
path: root/src/unwinder/unwinder.targets
blob: 18cd2bfa7ce0fdfd4bedc6535dabeaf88065474d (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
60
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <!--Import the settings-->
  <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.props" />
  <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\dac.props" />
  <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\src\debug\SetDebugTargetLocal.props" />
  <!--Leaf project Properties-->
  <PropertyGroup>
    <UseStl Condition="'$(BuildForCoreSystem)' != 'true'">true</UseStl>

    <UserIncludes>
      $(UserIncludes);
      $(ClrSrcDirectory)\unwinder;
      $(ClrSrcDirectory)\debug\daccess;
      $(ClrSrcDirectory)\vm;
      $(ClrSrcDirectory)\vm\$(TargetCpu);
      $(ClrSrcDirectory)\debug\inc;
      $(ClrSrcDirectory)\debug\inc\$(TargetCpu);
      $(ClrSrcDirectory)\debug\inc\dump;
      $(ClrSrcDirectory)\debug\ee;
      $(ClrSrcDirectory)\inc;
      $(VCToolsIncPath);
    </UserIncludes>

	<CDefines>$(CDefines);UNICODE;_UNICODE;$(USER_SPECIFIC_C_DEFINES);FEATURE_NO_HOST</CDefines>

	<OutputName Condition="'$(OutputName)' == ''">unwinder_dac</OutputName>
    <OutputPath>$(ClrLibDest)</OutputPath>
    <TargetType>LIBRARY</TargetType>
    <PCHHeader>stdafx.h</PCHHeader>
    <EnableCxxPCHHeaders>true</EnableCxxPCHHeaders>
    <PCHCompile>$(ClrSrcDirectory)\unwinder\stdafx.cpp</PCHCompile>

    <UnwinderSourcesDir>$(ClrSrcDirectory)\unwinder</UnwinderSourcesDir>
    <Amd64SourcesDir>$(ClrSrcDirectory)\unwinder\amd64</Amd64SourcesDir>
    <ArmSourcesDir>$(ClrSrcDirectory)\unwinder\arm</ArmSourcesDir>
    <Arm64SourcesDir>$(ClrSrcDirectory)\unwinder\arm64</Arm64SourcesDir>
  </PropertyGroup>

  <ItemGroup>
    <CppCompile Include="$(UnwinderSourcesDir)\unwinder.cpp" />
  </ItemGroup>

  <!-- AMD64_SOURCES -->
  <ItemGroup Condition="'$(TargetArch)' == 'amd64'">
    <CppCompile Include="$(Amd64SourcesDir)\unwinder_amd64.cpp" />
  </ItemGroup>
  <!-- ARM_SOURCES -->
  <ItemGroup Condition="'$(TargetArch)' == 'arm'">
    <CppCompile Include="$(ArmSourcesDir)\unwinder_arm.cpp" />
  </ItemGroup>
  <!-- ARM64_SOURCES -->
  <ItemGroup Condition="'$(TargetArch)' == 'arm64'">
    <CppCompile Include="$(Arm64SourcesDir)\unwinder_arm64.cpp" />
  </ItemGroup>

  <Import Project="$(Clrbase)\clr.targets" />

</Project>