summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-05-12 13:14:56 +0000
committerrubidium <rubidium@openttd.org>2010-05-12 13:14:56 +0000
commita673b56fb4b31a047b57ec1cfba155d7ca29aea0 (patch)
tree486c0e47f9bdb89f873c1130eae51315623c96bf
parent99ecfe4061f8e6404e18f5fcef7cdb13990fb252 (diff)
downloadopenttd-a673b56fb4b31a047b57ec1cfba155d7ca29aea0.tar.xz
(svn r19793) -Add [FS#3657]: source.list to the Visual Studio solutions and run the project file regeneration when source.list changes (adf88)
-rw-r--r--projects/generate_vs80.vcproj40
-rw-r--r--projects/generate_vs90.vcproj41
-rw-r--r--projects/openttd_vs80.sln6
-rw-r--r--projects/openttd_vs90.sln6
4 files changed, 93 insertions, 0 deletions
diff --git a/projects/generate_vs80.vcproj b/projects/generate_vs80.vcproj
new file mode 100644
index 000000000..30ef73e92
--- /dev/null
+++ b/projects/generate_vs80.vcproj
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="generate"
+ ProjectGUID="{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}"
+ RootNamespace="generate"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)"
+ IntermediateDirectory="..\objs\generate"
+ ConfigurationType="10"
+ >
+ </Configuration>
+ </Configurations>
+ <Files>
+ <File
+ RelativePath="..\source.list"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Running 'generate.vbs'..."
+ CommandLine="cscript &quot;$(ProjectDir)generate.vbs&quot;"
+ AdditionalDependencies="$(InputPath)"
+ Outputs="$(SolutionDir)openttd_vs80.vcproj;$(SolutionDir)openttd_vs90.vcproj"
+ />
+ </FileConfiguration>
+ </File>
+ </Files>
+</VisualStudioProject>
diff --git a/projects/generate_vs90.vcproj b/projects/generate_vs90.vcproj
new file mode 100644
index 000000000..97b41388d
--- /dev/null
+++ b/projects/generate_vs90.vcproj
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="generate"
+ ProjectGUID="{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}"
+ RootNamespace="generate"
+ TargetFrameworkVersion="131072"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)"
+ IntermediateDirectory="..\objs\generate"
+ ConfigurationType="10"
+ >
+ </Configuration>
+ </Configurations>
+ <Files>
+ <File
+ RelativePath="..\source.list"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Running 'generate.vbs' ..."
+ CommandLine="cscript &quot;$(ProjectDir)generate.vbs&quot;"
+ AdditionalDependencies="$(InputPath)"
+ Outputs="$(SolutionDir)openttd_vs80.vcproj;$(SolutionDir)openttd_vs90.vcproj"
+ />
+ </FileConfiguration>
+ </File>
+ </Files>
+</VisualStudioProject>
diff --git a/projects/openttd_vs80.sln b/projects/openttd_vs80.sln
index a11b42095..fbea116ad 100644
--- a/projects/openttd_vs80.sln
+++ b/projects/openttd_vs80.sln
@@ -16,6 +16,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "langs", "langs_vs80.vcproj"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "version", "version_vs80.vcproj", "{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generate", "generate_vs80.vcproj", "{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -56,6 +58,10 @@ Global
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|Win32.Build.0 = Debug|Win32
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|x64.ActiveCfg = Debug|Win32
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|x64.Build.0 = Debug|Win32
+ {2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|Win32.ActiveCfg = Debug|Win32
+ {2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|x64.ActiveCfg = Debug|Win32
+ {2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|Win32.ActiveCfg = Debug|Win32
+ {2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|x64.ActiveCfg = Debug|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/projects/openttd_vs90.sln b/projects/openttd_vs90.sln
index 431c37903..71f7f553a 100644
--- a/projects/openttd_vs90.sln
+++ b/projects/openttd_vs90.sln
@@ -16,6 +16,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "langs", "langs_vs90.vcproj"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "version", "version_vs90.vcproj", "{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "generate", "generate_vs90.vcproj", "{2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -56,6 +58,10 @@ Global
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|Win32.Build.0 = Debug|Win32
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|x64.ActiveCfg = Debug|Win32
{1A2B3C5E-1C23-41A5-9C9B-ACBA2AA75FEC}.Release|x64.Build.0 = Debug|Win32
+ {2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|Win32.ActiveCfg = Debug|Win32
+ {2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Debug|x64.ActiveCfg = Debug|Win32
+ {2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|Win32.ActiveCfg = Debug|Win32
+ {2F31FD79-D1AC-43C4-89F3-B0D5E4E53E34}.Release|x64.ActiveCfg = Debug|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE