summaryrefslogtreecommitdiff
path: root/src/md/winmd/WinMD.settings.targets
diff options
context:
space:
mode:
Diffstat (limited to 'src/md/winmd/WinMD.settings.targets')
-rw-r--r--src/md/winmd/WinMD.settings.targets49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/md/winmd/WinMD.settings.targets b/src/md/winmd/WinMD.settings.targets
new file mode 100644
index 0000000000..58fa8ee682
--- /dev/null
+++ b/src/md/winmd/WinMD.settings.targets
@@ -0,0 +1,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>