summaryrefslogtreecommitdiff
path: root/dac.props
diff options
context:
space:
mode:
Diffstat (limited to 'dac.props')
-rw-r--r--dac.props34
1 files changed, 34 insertions, 0 deletions
diff --git a/dac.props b/dac.props
new file mode 100644
index 0000000000..4d158d06ad
--- /dev/null
+++ b/dac.props
@@ -0,0 +1,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> \ No newline at end of file