diff options
author | ZehMatt <m.moninger.h@gmail.com> | 2018-04-21 18:01:39 +0200 |
---|---|---|
committer | glx22 <glx22@users.noreply.github.com> | 2018-04-22 19:24:07 +0200 |
commit | e7cc53ed62e5d0dd06a0b3ef47f900021633c900 (patch) | |
tree | e97c203521f3bab8d83f33ac5d34a49e0c4cd787 | |
parent | 6ff81b908e8773c5ab94bc8a16c7d564270b0e75 (diff) | |
download | openttd-e7cc53ed62e5d0dd06a0b3ef47f900021633c900.tar.xz |
Add: post build events to VS projects to copy the output into 'bin'
-rw-r--r-- | projects/openttd_vs100.vcxproj | 12 | ||||
-rw-r--r-- | projects/openttd_vs100.vcxproj.in | 12 | ||||
-rw-r--r-- | projects/openttd_vs140.vcxproj | 14 | ||||
-rw-r--r-- | projects/openttd_vs140.vcxproj.in | 12 | ||||
-rw-r--r-- | projects/openttd_vs141.vcxproj | 12 | ||||
-rw-r--r-- | projects/openttd_vs141.vcxproj.in | 12 | ||||
-rw-r--r-- | projects/openttd_vs80.vcproj | 8 | ||||
-rw-r--r-- | projects/openttd_vs80.vcproj.in | 8 | ||||
-rw-r--r-- | projects/openttd_vs90.vcproj | 8 | ||||
-rw-r--r-- | projects/openttd_vs90.vcproj.in | 8 |
10 files changed, 105 insertions, 1 deletions
diff --git a/projects/openttd_vs100.vcxproj b/projects/openttd_vs100.vcxproj index 5a0763e87..8a54e9712 100644 --- a/projects/openttd_vs100.vcxproj +++ b/projects/openttd_vs100.vcxproj @@ -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" /> diff --git a/projects/openttd_vs100.vcxproj.in b/projects/openttd_vs100.vcxproj.in index 8f57978ea..ab2ae133a 100644 --- a/projects/openttd_vs100.vcxproj.in +++ b/projects/openttd_vs100.vcxproj.in @@ -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!! diff --git a/projects/openttd_vs140.vcxproj b/projects/openttd_vs140.vcxproj index aabd440b8..043fe8591 100644 --- a/projects/openttd_vs140.vcxproj +++ b/projects/openttd_vs140.vcxproj @@ -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"> diff --git a/projects/openttd_vs140.vcxproj.in b/projects/openttd_vs140.vcxproj.in index acc48f72f..1e490d29e 100644 --- a/projects/openttd_vs140.vcxproj.in +++ b/projects/openttd_vs140.vcxproj.in @@ -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!! diff --git a/projects/openttd_vs141.vcxproj b/projects/openttd_vs141.vcxproj index d5362fe5b..bba72864b 100644 --- a/projects/openttd_vs141.vcxproj +++ b/projects/openttd_vs141.vcxproj @@ -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" /> diff --git a/projects/openttd_vs141.vcxproj.in b/projects/openttd_vs141.vcxproj.in index bd3539f7a..f4ec557c6 100644 --- a/projects/openttd_vs141.vcxproj.in +++ b/projects/openttd_vs141.vcxproj.in @@ -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!! diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj index e0dea6597..b0ac66036 100644 --- a/projects/openttd_vs80.vcproj +++ b/projects/openttd_vs80.vcproj @@ -122,6 +122,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -217,6 +219,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -327,6 +331,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -425,6 +431,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> </Configurations> diff --git a/projects/openttd_vs80.vcproj.in b/projects/openttd_vs80.vcproj.in index 3b5766df7..00c330d22 100644 --- a/projects/openttd_vs80.vcproj.in +++ b/projects/openttd_vs80.vcproj.in @@ -122,6 +122,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -217,6 +219,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -327,6 +331,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -425,6 +431,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> </Configurations> diff --git a/projects/openttd_vs90.vcproj b/projects/openttd_vs90.vcproj index d2c103a8f..8f379e6e6 100644 --- a/projects/openttd_vs90.vcproj +++ b/projects/openttd_vs90.vcproj @@ -121,6 +121,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -215,6 +217,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -324,6 +328,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -422,6 +428,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> </Configurations> diff --git a/projects/openttd_vs90.vcproj.in b/projects/openttd_vs90.vcproj.in index 612294f4d..0ebf4fcbe 100644 --- a/projects/openttd_vs90.vcproj.in +++ b/projects/openttd_vs90.vcproj.in @@ -121,6 +121,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -215,6 +217,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -324,6 +328,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> <Configuration @@ -422,6 +428,8 @@ /> <Tool Name="VCPostBuildEventTool" + Description="" + CommandLine="copy "$(OutDir)$(TargetName)$(TargetExt)" "$(SolutionDir)..\bin\$(TargetName)$(TargetExt)"" /> </Configuration> </Configurations> |