Changeset - r22827:5e1548b2c7a6
[Not reviewed]
master
0 10 0
ZehMatt - 7 years ago 2018-04-21 16:01:39
m.moninger.h@gmail.com
Add: post build events to VS projects to copy the output into 'bin'
10 files changed with 105 insertions and 1 deletions:
0 comments (0 inline, 0 general)
projects/openttd_vs100.vcxproj
Show inline comments
 
@@ -148,6 +148,9 @@
 
    <Manifest>
 
      <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 
    <Midl>
 
@@ -194,6 +197,9 @@
 
    <Manifest>
 
      <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 
    <Midl>
 
@@ -253,6 +259,9 @@
 
    <Manifest>
 
      <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 
    <Midl>
 
@@ -301,6 +310,9 @@
 
    <Manifest>
 
      <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemGroup>
 
    <ClCompile Include="..\src\airport.cpp" />
projects/openttd_vs100.vcxproj.in
Show inline comments
 
@@ -148,6 +148,9 @@
 
    <Manifest>
 
      <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 
    <Midl>
 
@@ -194,6 +197,9 @@
 
    <Manifest>
 
      <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 
    <Midl>
 
@@ -253,6 +259,9 @@
 
    <Manifest>
 
      <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 
    <Midl>
 
@@ -301,6 +310,9 @@
 
    <Manifest>
 
      <AdditionalManifestFiles>dpi_aware.manifest;os_versions.manifest</AdditionalManifestFiles>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemGroup>
 
!!FILES!!
projects/openttd_vs140.vcxproj
Show inline comments
 
@@ -155,6 +155,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 
    <Midl>
 
@@ -206,6 +209,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 
    <Midl>
 
@@ -269,6 +275,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 
    <Midl>
 
@@ -322,6 +331,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemGroup>
 
    <ClCompile Include="..\src\airport.cpp" />
 
@@ -1311,7 +1323,7 @@
 
  </ItemGroup>
 
  <ItemGroup>
 
    <None Include="..\media\openttd.ico" />
 
	<None Include="..\README.md" />
 
    <None Include="..\README.md" />
 
  </ItemGroup>
 
  <ItemGroup>
 
    <ProjectReference Include="langs_vs140.vcxproj">
projects/openttd_vs140.vcxproj.in
Show inline comments
 
@@ -155,6 +155,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 
    <Midl>
 
@@ -206,6 +209,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 
    <Midl>
 
@@ -269,6 +275,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 
    <Midl>
 
@@ -322,6 +331,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemGroup>
 
!!FILES!!
projects/openttd_vs141.vcxproj
Show inline comments
 
@@ -155,6 +155,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 
    <Midl>
 
@@ -206,6 +209,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 
    <Midl>
 
@@ -269,6 +275,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 
    <Midl>
 
@@ -322,6 +331,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemGroup>
 
    <ClCompile Include="..\src\airport.cpp" />
projects/openttd_vs141.vcxproj.in
Show inline comments
 
@@ -155,6 +155,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
 
    <Midl>
 
@@ -206,6 +209,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
 
    <Midl>
 
@@ -269,6 +275,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
 
    <Midl>
 
@@ -322,6 +331,9 @@
 
      <AdditionalManifestFiles>os_versions.manifest</AdditionalManifestFiles>
 
      <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness>
 
    </Manifest>
 
    <PostBuildEvent>
 
      <Command>copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"</Command>
 
    </PostBuildEvent>
 
  </ItemDefinitionGroup>
 
  <ItemGroup>
 
!!FILES!!
projects/openttd_vs80.vcproj
Show inline comments
 
@@ -122,6 +122,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -217,6 +219,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -327,6 +331,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -425,6 +431,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
	</Configurations>
projects/openttd_vs80.vcproj.in
Show inline comments
 
@@ -122,6 +122,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -217,6 +219,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -327,6 +331,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -425,6 +431,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
	</Configurations>
projects/openttd_vs90.vcproj
Show inline comments
 
@@ -121,6 +121,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -215,6 +217,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -324,6 +328,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -422,6 +428,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
	</Configurations>
projects/openttd_vs90.vcproj.in
Show inline comments
 
@@ -121,6 +121,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -215,6 +217,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -324,6 +328,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
		<Configuration
 
@@ -422,6 +428,8 @@
 
			/>
 
			<Tool
 
				Name="VCPostBuildEventTool"
 
				Description=""
 
				CommandLine="copy &quot;$(OutDir)$(TargetName)$(TargetExt)&quot; &quot;$(SolutionDir)..\bin\$(TargetName)$(TargetExt)&quot;"
 
			/>
 
		</Configuration>
 
	</Configurations>
0 comments (0 inline, 0 general)