summaryrefslogtreecommitdiff
path: root/dac.props
blob: 4d158d06adf75aa453264c558ad283f4f248cb30 (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">
  <!--*****************************************************-->
  <!--This MSBuild project file was automatically generated-->
  <!--from the original SOURCES/DIRS file by the KBC tool.-->
  <!--*****************************************************-->
  
  <!--Leaf project Properties-->
  <PropertyGroup>
    <ProfilingSupportedBuild >false</ProfilingSupportedBuild>
    <CDefines>$(CDefines);PROFILING_SUPPORTED_DATA</CDefines>
    <CDefines>$(CDefines);DACCESS_COMPILE</CDefines>
    <ExceptionHandling>$(Fullcxxeh)</ExceptionHandling>
    <LinkNoLibraries>true</LinkNoLibraries>
    <ClAdditionalOptions>$(ClAdditionalOptions) /d2Zi+</ClAdditionalOptions>
    <CDefines Condition="'$(_BuildType)' == 'chk' or '$(_BuildType)' == 'dbg'">$(CDefines);_ITERATOR_DEBUG_LEVEL=0</CDefines>
    <Win32DllLibs Condition="('$(_BuildType)' == 'chk' or '$(_BuildType)' == 'dbg')">$(Win32DllLibs.Replace("libcpmtd.lib","libcpmtd0.lib"))</Win32DllLibs>
  </PropertyGroup>

  <!-- We link statically against the CRT except on CoreSystem where we link the system CRT which is cheaper
  to link dynamically. We also enable static linking for the case where we're building DAC targeting
  CoreSystem but hosted on Windows (BuildForCoreSystem hasn't been target/hostified in the build system yet). -->
  <PropertyGroup Condition="'$(BuildForCoreSystem)' != 'true' or '$(DacCrossCompileHack)' == 'true'"> 
    <UseMsvcrt>false</UseMsvcrt>
    <LinkUseCMT Condition="!('$(_BuildType)' == 'chk' or '$(_BuildType)' == 'dbg')">true</LinkUseCMT>
  </PropertyGroup>

  <!-- See comment on the PropertyGroup above for an explanation of the condition here. -->
  <ItemGroup Condition="'$(BuildForCoreSystem)' != 'true' or '$(DacCrossCompileHack)' == 'true'">
    <TargetLib Condition="('$(_BuildType)' == 'chk' or '$(_BuildType)' == 'dbg')" Include="$(CrtLibPath)\libcpmtd0.lib" />
    <TargetLib Condition="('$(_BuildType)' == 'chk' or '$(_BuildType)' == 'dbg')" Include="$(CrtLibPath)\libcmtd.lib" />
    <TargetLib Condition="(!('$(_BuildType)' == 'chk' or '$(_BuildType)' == 'dbg'))" Include="$(CrtLibPath)\libcmt.lib" />
  </ItemGroup>

</Project>