[commit] r1345 - in trunk/GME: . DotNetPIAs

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Jun 8 18:26:49 CDT 2011


Author: ksmyth
Date: Wed Jun  8 18:26:49 2011
New Revision: 1345

Log:
Create some PIAs for COM interop

Added:
   trunk/GME/DotNetPIAs/
   trunk/GME/DotNetPIAs/DotNetPIAs.vcxproj
   trunk/GME/DotNetPIAs/DotNetPIAs.vcxproj.filters
Modified:
   trunk/GME/GME.sln

Added: trunk/GME/DotNetPIAs/DotNetPIAs.vcxproj
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/GME/DotNetPIAs/DotNetPIAs.vcxproj	Wed Jun  8 18:26:49 2011	(r1345)
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{57E1446E-6F58-44CD-B381-5D6A7F0509EB}</ProjectGuid>
+    <RootNamespace>DotNetPIAs</RootNamespace>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>Application</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>MultiByte</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup />
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <Optimization>Disabled</Optimization>
+    </ClCompile>
+    <Link>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <Optimization>MaxSpeed</Optimization>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+    </ClCompile>
+    <Link>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+  <PropertyGroup>
+    <PIAVersion>0.1.0.0</PIAVersion>
+  </PropertyGroup>
+  <Target Name="CreatePIA">
+    <Exec Command="&quot;$(WindowsSDKDir)bin\tlbimp&quot; /nologo /primary /keyfile:..\MgaDotNetServices\MgaDotNetServicesKey.snk /asmversion:$(PIAVersion) /out:$(OutFile) $(InFile) "/>
+    <Exec Command="&quot;$(MSBuildBinPath)\regasm&quot; /nologo $(OutFile)" />
+    <Exec Command="&quot;$(WindowsSDKDir)bin\gacutil&quot; /nologo /i $(OutFile)" />
+  </Target>
+  <Target Name="AfterBuild">
+    <MSBuild Properties="InFile=..\Release\Core.dll;OutFile=Interop.MGACoreLib.dll;PIAVersion=$(PIAVersion)" Projects="$(MSBuildProjectFullPath)" Targets="CreatePIA" />
+    <MSBuild Properties="InFile=..\Release\Meta.dll;OutFile=Interop.MGAMetaLib.dll;PIAVersion=$(PIAVersion)" Projects="$(MSBuildProjectFullPath)" Targets="CreatePIA" />
+    <MSBuild Properties="InFile=..\Release\Mga.dll;OutFile=Interop.MGALib.dll;PIAVersion=$(PIAVersion)" Projects="$(MSBuildProjectFullPath)" Targets="CreatePIA" />
+    <MSBuild Properties="InFile=..\Release\MgaUtil.dll;OutFile=Interop.MGAUtilLib.dll;PIAVersion=$(PIAVersion)" Projects="$(MSBuildProjectFullPath)" Targets="CreatePIA" />
+    <MSBuild Properties="InFile=..\Release\GME.exe;OutFile=Interop.GmeLib.dll;PIAVersion=$(PIAVersion)" Projects="$(MSBuildProjectFullPath)" Targets="CreatePIA" />
+  </Target>
+  <Target Name="uwerwer">
+
+    <Exec Command="gacutil /nologo /i Interop.MGACoreLib.dll Interop.MGAMetaLib.dll Interop.MGALib.dll Interop.MGAUtilLib.dll" />
+    <Exec Command="tlbimp /nologo /primary /keyfile:..\MgaDotNetServices\MgaDotNetServicesKey.snk /asmversion:$(PIAVersion) /out:Interop.MGAMetaLib.dll ..\Release\Meta.dll "/>
+    <Exec Command="regasm /nologo Interop.MGAMetaLib.dll" />
+    <Exec Command="gacutil /nologo /i Interop.MGACoreLib.dll Interop.MGAMetaLib.dll Interop.MGALib.dll Interop.MGAUtilLib.dll" />
+    <Exec Command="tlbimp /nologo /primary /keyfile:..\MgaDotNetServices\MgaDotNetServicesKey.snk /asmversion:$(PIAVersion) /out:Interop.MGALib.dll ..\Release\Mga.dll "/>
+    <Exec Command="regasm /nologo Interop.MGALib.dll" />
+    <Exec Command="gacutil /nologo /i Interop.MGACoreLib.dll Interop.MGAMetaLib.dll Interop.MGALib.dll Interop.MGAUtilLib.dll" />
+    <Exec Command="tlbimp /nologo /primary /keyfile:..\MgaDotNetServices\MgaDotNetServicesKey.snk /asmversion:$(PIAVersion) /out:Interop.MGAUtilLib.dll ..\Release\MgaUtil.dll "/>
+    <Exec Command="gacutil /nologo /i Interop.MGACoreLib.dll Interop.MGAMetaLib.dll Interop.MGALib.dll Interop.MGAUtilLib.dll" />
+    <Exec Command="regasm /nologo Interop.MGAUtilLib.dll" />
+    <Exec Command="gacutil /nologo /i Interop.MGACoreLib.dll Interop.MGAMetaLib.dll Interop.MGALib.dll Interop.MGAUtilLib.dll" />
+
+  </Target>
+</Project>
\ No newline at end of file

Added: trunk/GME/DotNetPIAs/DotNetPIAs.vcxproj.filters
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/GME/DotNetPIAs/DotNetPIAs.vcxproj.filters	Wed Jun  8 18:26:49 2011	(r1345)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="Source Files">
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+    </Filter>
+    <Filter Include="Header Files">
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+      <Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
+    </Filter>
+    <Filter Include="Resource Files">
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+    </Filter>
+  </ItemGroup>
+</Project>
\ No newline at end of file

Modified: trunk/GME/GME.sln
==============================================================================
--- trunk/GME/GME.sln	Wed Jun  8 16:52:06 2011	(r1344)
+++ trunk/GME/GME.sln	Wed Jun  8 18:26:49 2011	(r1345)
@@ -36,6 +36,8 @@
 EndProject
 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MgaDotNetServices", "MgaDotNetServices\MgaDotNetServices.csproj", "{955209A1-8107-43C2-B0A7-729B03908C64}"
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DotNetPIAs", "DotNetPIAs\DotNetPIAs.vcxproj", "{57E1446E-6F58-44CD-B381-5D6A7F0509EB}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Mixed Platforms = Debug|Mixed Platforms
@@ -188,6 +190,14 @@
 		{955209A1-8107-43C2-B0A7-729B03908C64}.Release|Mixed Platforms.Build.0 = Release|Any CPU
 		{955209A1-8107-43C2-B0A7-729B03908C64}.Release|Win32.ActiveCfg = Release|Any CPU
 		{955209A1-8107-43C2-B0A7-729B03908C64}.Release|Win32.Build.0 = Release|Any CPU
+		{57E1446E-6F58-44CD-B381-5D6A7F0509EB}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
+		{57E1446E-6F58-44CD-B381-5D6A7F0509EB}.Debug|Mixed Platforms.Build.0 = Debug|Win32
+		{57E1446E-6F58-44CD-B381-5D6A7F0509EB}.Debug|Win32.ActiveCfg = Debug|Win32
+		{57E1446E-6F58-44CD-B381-5D6A7F0509EB}.Debug|Win32.Build.0 = Debug|Win32
+		{57E1446E-6F58-44CD-B381-5D6A7F0509EB}.Release|Mixed Platforms.ActiveCfg = Release|Win32
+		{57E1446E-6F58-44CD-B381-5D6A7F0509EB}.Release|Mixed Platforms.Build.0 = Release|Win32
+		{57E1446E-6F58-44CD-B381-5D6A7F0509EB}.Release|Win32.ActiveCfg = Release|Win32
+		{57E1446E-6F58-44CD-B381-5D6A7F0509EB}.Release|Win32.Build.0 = Release|Win32
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE


More information about the gme-commit mailing list