From c3cd1fbcee8424dd829d507d5ab292e52e0d4433 Mon Sep 17 00:00:00 2001 From: "richard.s.shepherd" Date: Thu, 16 Feb 2012 21:29:38 +0000 Subject: [PATCH] Pre and post build steps. --- .../VS2008/C++/PreBuildStep/CopyAndRename.cmd | 1 + .../VS2008/C++/PreBuildStep/PreBuildStep.sln | 20 ++ .../C++/PreBuildStep/PreBuildStep.vcproj | 195 ++++++++++++++++++ .../VS2008/C++/PreBuildStep/main.code | 6 + 4 files changed, 222 insertions(+) create mode 100644 Tests/TestProjects/VS2008/C++/PreBuildStep/CopyAndRename.cmd create mode 100644 Tests/TestProjects/VS2008/C++/PreBuildStep/PreBuildStep.sln create mode 100644 Tests/TestProjects/VS2008/C++/PreBuildStep/PreBuildStep.vcproj create mode 100644 Tests/TestProjects/VS2008/C++/PreBuildStep/main.code diff --git a/Tests/TestProjects/VS2008/C++/PreBuildStep/CopyAndRename.cmd b/Tests/TestProjects/VS2008/C++/PreBuildStep/CopyAndRename.cmd new file mode 100644 index 0000000..03b0ae4 --- /dev/null +++ b/Tests/TestProjects/VS2008/C++/PreBuildStep/CopyAndRename.cmd @@ -0,0 +1 @@ +copy main.code main.cpp diff --git a/Tests/TestProjects/VS2008/C++/PreBuildStep/PreBuildStep.sln b/Tests/TestProjects/VS2008/C++/PreBuildStep/PreBuildStep.sln new file mode 100644 index 0000000..8f1ff7b --- /dev/null +++ b/Tests/TestProjects/VS2008/C++/PreBuildStep/PreBuildStep.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PreBuildStep", "PreBuildStep.vcproj", "{214F9EE1-3D80-4B10-99DA-869890E10B14}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {214F9EE1-3D80-4B10-99DA-869890E10B14}.Debug|Win32.ActiveCfg = Debug|Win32 + {214F9EE1-3D80-4B10-99DA-869890E10B14}.Debug|Win32.Build.0 = Debug|Win32 + {214F9EE1-3D80-4B10-99DA-869890E10B14}.Release|Win32.ActiveCfg = Release|Win32 + {214F9EE1-3D80-4B10-99DA-869890E10B14}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Tests/TestProjects/VS2008/C++/PreBuildStep/PreBuildStep.vcproj b/Tests/TestProjects/VS2008/C++/PreBuildStep/PreBuildStep.vcproj new file mode 100644 index 0000000..8a34f22 --- /dev/null +++ b/Tests/TestProjects/VS2008/C++/PreBuildStep/PreBuildStep.vcproj @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/TestProjects/VS2008/C++/PreBuildStep/main.code b/Tests/TestProjects/VS2008/C++/PreBuildStep/main.code new file mode 100644 index 0000000..740fd7a --- /dev/null +++ b/Tests/TestProjects/VS2008/C++/PreBuildStep/main.code @@ -0,0 +1,6 @@ +#include + +int main(int argc, char** argv) +{ + printf("Hello, World!"); +} \ No newline at end of file