Commits

Jason Perkins committed bccc409

Got rid of no-longer-used samples

Comments (0)

Files changed (40)

samples/complex_platforms/premake4.lua

-solution "MySolution"
-
-	configurations { 
-		"Debug", 
-		"Deployment", 
-		"Profiling", 
-		"Release" 
-	}
-
-	platforms {
-		"Win32 Static SCRT",
-		"Win32 Static DCRT",
-		"Win32 DLL",
-		"Win64 Static SCRT",
-		"Win64 Static DCRT",
-		"Win64 DLL",
-		"PS3 PPU GCC",
-		"PS3 PPU SN",
-		"PS3 SPU GCC",
-		"PS3 SPU SN"
-	}
-
-
---
--- Map the platforms to their underlying architectures.
---
-	
-	configuration { "Win32 *" }
-		architecture "x32"
-		os "windows"
-		
- 	configuration { "Win64 *" }
-		architecture "x64"
-		os "windows"
-
-	configuration { "* PPU *" }
-		architecture "ps3ppu"
-		
-	configuration { "* SPU *" }
-		architecture "ps3spu"
-	
-	configuration { "* GCC" }
-		compiler "gcc"
-		
-	configuration { "* SN" }
-		compiler "sn"

samples/gmake/CppExe/Makefile

-# GNU Makefile autogenerated by Premake
-# Please build using the solution Makefile at:
-#  ../Makefile
-
-ifndef CONFIG
-  CONFIG=Debug
-endif
-
-ifeq ($(CONFIG),Debug)
-  BINDIR := ..
-  LIBDIR := ..
-  OBJDIR := obj/Debug
-  OUTDIR := ..
-  CPPFLAGS := -MMD
-  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -g
-  CXXFLAGS := $(CFLAGS)
-  LDFLAGS += -L$(BINDIR) -L$(LIBDIR)
-  LDDEPS :=
-  RESFLAGS :=
-  TARGET := CppExe.exe
-  BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
-endif
-
-ifeq ($(CONFIG),Release)
-  BINDIR := ..
-  LIBDIR := ..
-  OBJDIR := obj/Release
-  OUTDIR := ..
-  CPPFLAGS := -MMD
-  CFLAGS += $(CPPFLAGS) $(TARGET_ARCH) -O2
-  CXXFLAGS := $(CFLAGS)
-  LDFLAGS += -L$(BINDIR) -L$(LIBDIR) -s
-  LDDEPS :=
-  RESFLAGS :=
-  TARGET := CppExe.exe
-  BLDCMD = $(CXX) -o $(OUTDIR)/$(TARGET) $(OBJECTS) $(LDFLAGS) $(RESOURCES) $(TARGET_ARCH)
-endif
-
-OBJECTS := \
-	$(OBJDIR)/Hello.o \
-
-RESOURCES := \
-
-# Can I have premake check the OS type instead of doing this here?
-
-MKDIR_TYPE := msdos
-CMD := $(subst \,\\,$(ComSpec)$(COMSPEC))
-ifeq (,$(CMD))
-  MKDIR_TYPE := posix
-endif
-ifeq (/bin/sh.exe,$(SHELL))
-  MKDIR_TYPE := posix
-endif
-ifeq ($(MKDIR_TYPE),posix)
-  CMD_MKBINDIR := mkdir -p $(BINDIR)
-  CMD_MKLIBDIR := mkdir -p $(LIBDIR)
-  CMD_MKOUTDIR := mkdir -p $(OUTDIR)
-  CMD_MKOBJDIR := mkdir -p $(OBJDIR)
-else
-  CMD_MKBINDIR := $(CMD) /c if not exist $(subst /,\\,$(BINDIR)) mkdir $(subst /,\\,$(BINDIR))
-  CMD_MKLIBDIR := $(CMD) /c if not exist $(subst /,\\,$(LIBDIR)) mkdir $(subst /,\\,$(LIBDIR))
-  CMD_MKOUTDIR := $(CMD) /c if not exist $(subst /,\\,$(OUTDIR)) mkdir $(subst /,\\,$(OUTDIR))
-  CMD_MKOBJDIR := $(CMD) /c if not exist $(subst /,\\,$(OBJDIR)) mkdir $(subst /,\\,$(OBJDIR))
-endif
-
-.PHONY: clean
-
-# I really only need to create OUTDIR; that's the only one that matters!
-
-$(OUTDIR)/$(TARGET): $(OBJECTS) $(LDDEPS) $(RESOURCES)
-	@echo Linking CppExe
-	-@$(CMD_MKBINDIR)
-	-@$(CMD_MKLIBDIR)
-	-@$(CMD_MKOUTDIR)
-	@$(BLDCMD)
-
-clean:
-	@echo Cleaning CppExe
-ifeq ($(MKDIR_TYPE),posix)
-	-@rm -f $(OUTDIR)/$(TARGET)
-	-@rm -rf $(OBJDIR)
-else
-	-@if exist $(subst /,\,$(OUTDIR)/$(TARGET)) del /q $(subst /,\,$(OUTDIR)/$(TARGET))
-	-@if exist $(subst /,\,$(OBJDIR)) del /q $(subst /,\,$(OBJDIR))
-	-@if exist $(subst /,\,$(OBJDIR)) rmdir /s /q $(subst /,\,$(OBJDIR))
-endif
-
-# add an "objdir" as first dependency to target and create directories there (or maybe
-# call it outdirs and do all required output directories
-
-$(OBJDIR)/Hello.o: Hello.cpp
-	-@$(CMD_MKOBJDIR)
-	@echo $(notdir $<)
-	@$(CXX) $(CXXFLAGS) -o $@ -c $<
-
--include $(OBJECTS:%.o=%.d)
-

samples/gmake/Makefile

-# GNU Makefile autogenerated by Premake
-# Usage: make [ CONFIG=config_name ]
-# Where {config_name} is one of:
-#   Debug, Release
-
-ifndef CONFIG
-  CONFIG=Debug
-endif
-export CONFIG
-
-.PHONY: all clean CppExe
-
-all: CppExe
-
-Makefile: premake.lua CppExe/premake.lua
-	@echo ==== Regenerating Makefiles ====
-	@premake --file $^ --target gnu
-
-CppExe:
-	@echo ==== Building CppExe ====
-	@$(MAKE) --no-print-directory -C CppExe
-
-clean:
-	@$(MAKE) --no-print-directory -C CppExe clean

samples/project/CppConsoleApp/CppConsoleApp.cpp

-#include "stdafx.h"
-
-int main()
-{
-	printf("CppConsoleApp\n");
-	return 0;
-}

samples/project/CppConsoleApp/premake4.lua

-project "CppConsoleApp"
-
-	kind     "ConsoleApp"
-	language "C++"
-	
-	flags    { "FatalWarnings", "ExtraWarnings" }
-	
-	files    { "*.h", "*.cpp" }
-	
-	includedirs { "I:/Code" }
-
-	libdirs { "../lib" }
-	links   { "CppSharedLib" }
-	
-	configuration "Debug"
-		targetdir "../bin/debug (x64)"
-		links { "CppStaticLib" }
-		
-	configuration "Release"
-		targetdir "../bin/release (x64)"

samples/project/CppConsoleApp/stdafx.cpp

-#include "stdafx.h"

samples/project/CppConsoleApp/stdafx.h

-#include <stdio.h>
-
-#define MY_SYMBOL

samples/project/CppSharedLib/CppSharedLib.cpp

-#include <stdio.h>
-
-void CppSharedLib()
-{
-	printf("CppSharedLib\n");
-}

samples/project/CppSharedLib/CppSharedLib.def

-EXPORTS
-  CppSharedLib

samples/project/CppSharedLib/premake4.lua

-project "CppSharedLib"
-
-	kind     "SharedLib"
-	language "C++"
-	files    { "*.cpp", "CppSharedLib.def" }
-	
-	configuration "Debug"
-		targetdir "lib/debug"
-		
-	configuration "Release"
-		targetdir "lib/release"
-
-	
-	if _ACTION == "clean" then
-		os.rmdir("lib")
-	end

samples/project/CppStaticLib/CppStaticLib.cpp

-#include <stdio.h>
-
-void CppStaticLib()
-{
-	printf("CppStaticLib\n");
-}

samples/project/CppStaticLib/premake4.lua

-project "CppStaticLib"
-
-	kind     "StaticLib"
-	language "C++"
-	files    { "*.cpp" }
-
-	configuration "Debug"
-		targetdir "lib/debug"
-		
-	configuration "Release"
-		targetdir "lib/release"
-	
-	
-	if _ACTION == "clean" then
-		os.rmdir("lib")
-	end

samples/project/CppWindowedApp/CppWindowedApp.cpp

-#include <stdio.h>
-
-int main()
-{
-	printf("CppWindowedApp\n");
-	return 0;
-}

samples/project/CppWindowedApp/premake4.lua

-project "CppWindowedApp"
-
-	kind     "WindowedApp"
-	language "C++"
-	
-	files    "*.cpp"
-	
-	libdirs { "../lib" }
-	links   { "CppStaticLib" }
-	
-	configuration "windows"
-		links { "user32", "gdi32" }
-

samples/project/CsConsoleApp/App.config

-<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
-</configuration>

samples/project/CsConsoleApp/Crate.bmp

Removed
Old image

samples/project/CsConsoleApp/CsConsoleApp.cs

-using System;
-using System.Reflection;
-using System.Resources;
-
-public class CsConsoleApp
-{
-	static int Main()
-	{
-		Assembly assembly = Assembly.GetExecutingAssembly();
-		ResourceManager resx = new ResourceManager("CsConsoleApp.Resources", assembly);
-		string greeting = resx.GetString("Greeting");
-		Console.WriteLine(greeting);
-
-		Console.WriteLine("CsConsoleApp");
-
-		CsSharedLib lib = new CsSharedLib();
-		lib.DoIt();
-
-		return 0;
-	}
-}

samples/project/CsConsoleApp/Resource1.Designer.cs

-//------------------------------------------------------------------------------
-// <auto-generated>
-//     This code was generated by a tool.
-//     Runtime Version:2.0.50727.832
-//
-//     Changes to this file may cause incorrect behavior and will be lost if
-//     the code is regenerated.
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace ConsoleApplication2 {
-    using System;
-    
-    
-    /// <summary>
-    ///   A strongly-typed resource class, for looking up localized strings, etc.
-    /// </summary>
-    // This class was auto-generated by the StronglyTypedResourceBuilder
-    // class via a tool like ResGen or Visual Studio.
-    // To add or remove a member, edit your .ResX file then rerun ResGen
-    // with the /str option, or rebuild your VS project.
-    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
-    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
-    internal class Resource1 {
-        
-        private static global::System.Resources.ResourceManager resourceMan;
-        
-        private static global::System.Globalization.CultureInfo resourceCulture;
-        
-        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
-        internal Resource1() {
-        }
-        
-        /// <summary>
-        ///   Returns the cached ResourceManager instance used by this class.
-        /// </summary>
-        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
-        internal static global::System.Resources.ResourceManager ResourceManager {
-            get {
-                if (object.ReferenceEquals(resourceMan, null)) {
-                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ConsoleApplication2.Resource1", typeof(Resource1).Assembly);
-                    resourceMan = temp;
-                }
-                return resourceMan;
-            }
-        }
-        
-        /// <summary>
-        ///   Overrides the current thread's CurrentUICulture property for all
-        ///   resource lookups using this strongly typed resource class.
-        /// </summary>
-        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
-        internal static global::System.Globalization.CultureInfo Culture {
-            get {
-                return resourceCulture;
-            }
-            set {
-                resourceCulture = value;
-            }
-        }
-    }
-}

samples/project/CsConsoleApp/Resource1.resx

-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-		Microsoft ResX Schema
-
-		Version 1.3
-
-		The primary goals of this format is to allow a simple XML format 
-		that is mostly human readable. The generation and parsing of the 
-		various data types are done through the TypeConverter classes 
-		associated with the data types.
-
-		Example:
-
-		... ado.net/XML headers & schema ...
-		<resheader name="resmimetype">text/microsoft-resx</resheader>
-		<resheader name="version">1.3</resheader>
-		<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-		<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-		<data name="Name1">this is my long string</data>
-		<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-		<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-			[base64 mime encoded serialized .NET Framework object]
-		</data>
-		<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-			[base64 mime encoded string representing a byte array form of the .NET Framework object]
-		</data>
-
-		There are any number of "resheader" rows that contain simple 
-		name/value pairs.
-
-		Each data row contains a name, and value. The row also contains a 
-		type or mimetype. Type corresponds to a .NET class that support 
-		text/value conversion through the TypeConverter architecture. 
-		Classes that don't support this are serialized and stored with the 
-		mimetype set.
-
-		The mimetype is used for serialized objects, and tells the 
-		ResXResourceReader how to depersist the object. This is currently not 
-		extensible. For a given mimetype the value must be set accordingly:
-
-		Note - application/x-microsoft.net.object.binary.base64 is the format 
-		that the ResXResourceWriter will generate, however the reader can 
-		read any of the formats listed below.
-
-		mimetype: application/x-microsoft.net.object.binary.base64
-		value   : The object must be serialized with 
-			: System.Serialization.Formatters.Binary.BinaryFormatter
-			: and then encoded with base64 encoding.
-
-		mimetype: application/x-microsoft.net.object.soap.base64
-		value   : The object must be serialized with 
-			: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-			: and then encoded with base64 encoding.
-
-		mimetype: application/x-microsoft.net.object.bytearray.base64
-		value   : The object must be serialized into a byte array 
-			: using a System.ComponentModel.TypeConverter
-			: and then encoded with base64 encoding.
-	-->
-
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>1.3</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-</root>

samples/project/CsConsoleApp/premake4.lua

-project "CsConsoleApp"
-
-	kind     "ConsoleApp"
-	language "C#"
-	
-	files   { "**.cs", "**.bmp", "**.resx", "**.config" }
-	
-	libdirs { "../lib" }
-	links { "CsSharedLib", "CppSharedLib", "System" }
-
-	buildoptions { "/define:TEST" }
-		
-	configuration "*.bmp"
-		buildaction "Embed"

samples/project/CsSharedLib/App.config

-<?xml version="1.0" encoding="utf-8" ?>
-<configuration>
-</configuration>

samples/project/CsSharedLib/CsSharedLib.cs

-using System;
-
-public class CsSharedLib
-{
-	public void DoIt()
-	{
-		Console.WriteLine("CsSharedLib");
-	}
-}

samples/project/CsSharedLib/premake4.lua

-project "CsSharedLib"
-
-	kind     "SharedLib"
-	language "C#"
-	files    { "*.cs" }
-
-	configuration "Debug"
-		targetdir "lib/debug"
-		
-	configuration "Release"
-		targetdir "lib/release"
-
-
-	if _ACTION == "clean" then
-		os.rmdir("lib")
-	end

samples/project/premake4

-#!/bin/sh
-
-../../bin/debug/premake4 /scripts=../../src $1 $2 $3 $4 $5 $6 $7

samples/project/premake4.lua

-solution "PremakeTestbox"
-	configurations { "Debug", "Release" }
-	
--- solution level configuration
-	
-	configuration "Debug"
-		targetdir "bin/debug"
-		flags   { "Symbols" }
-		defines { "_DEBUG", "DEBUG" }
-		
-	configuration "Release"
-		targetdir "bin/release"
-		flags   { "Optimize" }
-		defines { "NDEBUG" }
-			
-
--- include all the projects
-	
-	include "CppConsoleApp"
-	include "CppWindowedApp"
-	include "CppSharedLib"
-	include "CppStaticLib"
-
-	if premake.action.supports(premake.action.current(), "C#") then
-		include "CsSharedLib"
-		include "CsConsoleApp"
-	end
-	
-
-
--- add a new install action
-
-	newaction {
-		trigger     = "install",
-		description = "Install the project",
-		execute     = function ()
-			os.copyfile("premake4.lua", "../premake4.lua")
-		end
-	} 
-

samples/vs2002/CppExe/CppExe.vcproj

-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="7.00"
-	Name="CppExe"
-	ProjectGUID="{AE61726D-187C-E440-BD07-2556188A6565}"
-	Keyword="Win32Proj">
-	<Platforms>
-		<Platform
-			Name="Win32"/>
-	</Platforms>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory=".."
-			IntermediateDirectory="obj/Debug"
-			ConfigurationType="1"
-			CharacterSet="2">
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				MinimalRebuild="TRUE"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="3"
-				EnableFunctionLevelLinking="TRUE"
-				RuntimeTypeInfo="TRUE"
-				UsePrecompiledHeader="2"
-				WarningLevel="3"
-				Detect64BitPortabilityProblems="TRUE"
-				DebugInformationFormat="4"/>
-			<Tool
-				Name="VCCustomBuildTool"/>
-			<Tool
-				Name="VCLinkerTool"
-				OutputFile="$(OutDir)/CppExe.exe"
-				LinkIncremental="2"
-				AdditionalLibraryDirectories=".."
-				GenerateDebugInformation="TRUE"
-				ProgramDatabaseFile="$(OutDir)/CppExe.pdb"
-				SubSystem="1"
-				EntryPointSymbol="mainCRTStartup"
-				TargetMachine="1"/>
-			<Tool
-				Name="VCMIDLTool"/>
-			<Tool
-				Name="VCPostBuildEventTool"/>
-			<Tool
-				Name="VCPreBuildEventTool"/>
-			<Tool
-				Name="VCPreLinkEventTool"/>
-			<Tool
-				Name="VCResourceCompilerTool"/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"/>
-			<Tool
-				Name="VCWebDeploymentTool"/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory=".."
-			IntermediateDirectory="obj/Release"
-			ConfigurationType="1"
-			CharacterSet="2">
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="3"
-				StringPooling="TRUE"
-				RuntimeLibrary="2"
-				EnableFunctionLevelLinking="TRUE"
-				RuntimeTypeInfo="TRUE"
-				UsePrecompiledHeader="2"
-				WarningLevel="3"
-				Detect64BitPortabilityProblems="TRUE"
-				DebugInformationFormat="0"/>
-			<Tool
-				Name="VCCustomBuildTool"/>
-			<Tool
-				Name="VCLinkerTool"
-				OutputFile="$(OutDir)/CppExe.exe"
-				LinkIncremental="1"
-				AdditionalLibraryDirectories=".."
-				GenerateDebugInformation="FALSE"
-				SubSystem="1"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				EntryPointSymbol="mainCRTStartup"
-				TargetMachine="1"/>
-			<Tool
-				Name="VCMIDLTool"/>
-			<Tool
-				Name="VCPostBuildEventTool"/>
-			<Tool
-				Name="VCPreBuildEventTool"/>
-			<Tool
-				Name="VCPreLinkEventTool"/>
-			<Tool
-				Name="VCResourceCompilerTool"/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"/>
-			<Tool
-				Name="VCWebDeploymentTool"/>
-		</Configuration>
-	</Configurations>
-	<Files>
-		<File
-			RelativePath=".\Hello.cpp">
-		</File>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

samples/vs2002/MySolution.sln

-Microsoft Visual Studio Solution File, Format Version 7.00
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CppExe", "CppExe/CppExe.vcproj", "{AE61726D-187C-E440-BD07-2556188A6565}"
-EndProject
-Global
-	GlobalSection(SolutionConfiguration) = preSolution
-		ConfigName.0 = Debug
-		ConfigName.1 = Release
-	EndGlobalSection
-	GlobalSection(ProjectDependencies) = postSolution
-	EndGlobalSection
-	GlobalSection(ProjectConfiguration) = postSolution
-		{AE61726D-187C-E440-BD07-2556188A6565}.Debug.ActiveCfg = Debug|Win32
-		{AE61726D-187C-E440-BD07-2556188A6565}.Debug.Build.0 = Debug|Win32
-		{AE61726D-187C-E440-BD07-2556188A6565}.Release.ActiveCfg = Release|Win32
-		{AE61726D-187C-E440-BD07-2556188A6565}.Release.Build.0 = Release|Win32
-	EndGlobalSection
-	GlobalSection(ExtensibilityGlobals) = postSolution
-	EndGlobalSection
-	GlobalSection(ExtensibilityAddIns) = postSolution
-	EndGlobalSection
-EndGlobal

samples/vs2003/CppExe/CppExe.vcproj

-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="7.10"
-	Name="CppExe"
-	ProjectGUID="{2606321E-67AA-8244-A5C1-67F2E3F8CA0C}"
-	Keyword="Win32Proj">
-	<Platforms>
-		<Platform
-			Name="Win32"/>
-	</Platforms>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory=".."
-			IntermediateDirectory="obj/Debug"
-			ConfigurationType="1"
-			CharacterSet="2">
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				MinimalRebuild="TRUE"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="3"
-				EnableFunctionLevelLinking="TRUE"
-				RuntimeTypeInfo="TRUE"
-				UsePrecompiledHeader="2"
-				WarningLevel="3"
-				Detect64BitPortabilityProblems="TRUE"
-				DebugInformationFormat="4"/>
-			<Tool
-				Name="VCCustomBuildTool"/>
-			<Tool
-				Name="VCLinkerTool"
-				OutputFile="$(OutDir)/CppExe.exe"
-				LinkIncremental="2"
-				AdditionalLibraryDirectories=".."
-				GenerateDebugInformation="TRUE"
-				ProgramDatabaseFile="$(OutDir)/CppExe.pdb"
-				SubSystem="1"
-				EntryPointSymbol="mainCRTStartup"
-				TargetMachine="1"/>
-			<Tool
-				Name="VCMIDLTool"/>
-			<Tool
-				Name="VCPostBuildEventTool"/>
-			<Tool
-				Name="VCPreBuildEventTool"/>
-			<Tool
-				Name="VCPreLinkEventTool"/>
-			<Tool
-				Name="VCResourceCompilerTool"/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"/>
-			<Tool
-				Name="VCWebDeploymentTool"/>
-			<Tool
-				Name="VCManagedWrapperGeneratorTool"/>
-			<Tool
-				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory=".."
-			IntermediateDirectory="obj/Release"
-			ConfigurationType="1"
-			CharacterSet="2">
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="3"
-				StringPooling="TRUE"
-				RuntimeLibrary="2"
-				EnableFunctionLevelLinking="TRUE"
-				RuntimeTypeInfo="TRUE"
-				UsePrecompiledHeader="2"
-				WarningLevel="3"
-				Detect64BitPortabilityProblems="TRUE"
-				DebugInformationFormat="0"/>
-			<Tool
-				Name="VCCustomBuildTool"/>
-			<Tool
-				Name="VCLinkerTool"
-				OutputFile="$(OutDir)/CppExe.exe"
-				LinkIncremental="1"
-				AdditionalLibraryDirectories=".."
-				GenerateDebugInformation="FALSE"
-				SubSystem="1"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				EntryPointSymbol="mainCRTStartup"
-				TargetMachine="1"/>
-			<Tool
-				Name="VCMIDLTool"/>
-			<Tool
-				Name="VCPostBuildEventTool"/>
-			<Tool
-				Name="VCPreBuildEventTool"/>
-			<Tool
-				Name="VCPreLinkEventTool"/>
-			<Tool
-				Name="VCResourceCompilerTool"/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"/>
-			<Tool
-				Name="VCWebDeploymentTool"/>
-			<Tool
-				Name="VCManagedWrapperGeneratorTool"/>
-			<Tool
-				Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<File
-			RelativePath=".\Hello.cpp">
-		</File>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

samples/vs2003/EmptySolution.sln

-Microsoft Visual Studio Solution File, Format Version 8.00
-Global
-	GlobalSection(SolutionConfiguration) = preSolution
-	EndGlobalSection
-	GlobalSection(ProjectConfiguration) = postSolution
-	EndGlobalSection
-	GlobalSection(ExtensibilityGlobals) = postSolution
-	EndGlobalSection
-	GlobalSection(ExtensibilityAddIns) = postSolution
-	EndGlobalSection
-EndGlobal

samples/vs2003/MySolution.sln

-Microsoft Visual Studio Solution File, Format Version 8.00
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CppExe", "CppExe/CppExe.vcproj", "{2606321E-67AA-8244-A5C1-67F2E3F8CA0C}"
-	ProjectSection(ProjectDependencies) = postProject
-	EndProjectSection
-EndProject
-Global
-	GlobalSection(SolutionConfiguration) = preSolution
-		Debug = Debug
-		Release = Release
-	EndGlobalSection
-	GlobalSection(ProjectConfiguration) = postSolution
-		{2606321E-67AA-8244-A5C1-67F2E3F8CA0C}.Debug.ActiveCfg = Debug|Win32
-		{2606321E-67AA-8244-A5C1-67F2E3F8CA0C}.Debug.Build.0 = Debug|Win32
-		{2606321E-67AA-8244-A5C1-67F2E3F8CA0C}.Release.ActiveCfg = Release|Win32
-		{2606321E-67AA-8244-A5C1-67F2E3F8CA0C}.Release.Build.0 = Release|Win32
-	EndGlobalSection
-	GlobalSection(ExtensibilityGlobals) = postSolution
-	EndGlobalSection
-	GlobalSection(ExtensibilityAddIns) = postSolution
-	EndGlobalSection
-EndGlobal

samples/vs2005/CppExe/CppExe.cpp

-#include <stdio.h>
-
-int main()
-{
-	puts(""#MSG);
-	return 0;
-}

samples/vs2005/CppExe/CppExe.vcproj

-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-	ProjectType="Visual C++"
-	Version="8.00"
-	Name="CppExe"
-	ProjectGUID="{AE2461B7-236F-4278-81D3-F0D476F9A4C0}"
-	RootNamespace="CppExe"
-	Keyword="Win32Proj"
-	>
-	<Platforms>
-		<Platform
-			Name="Win32"
-		/>
-	</Platforms>
-	<ToolFiles>
-	</ToolFiles>
-	<Configurations>
-		<Configuration
-			Name="Debug|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="1"
-			CharacterSet="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				Optimization="0"
-				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;MSG=&quot;Hi there&quot;;BUILDING"
-				MinimalRebuild="true"
-				BasicRuntimeChecks="3"
-				RuntimeLibrary="3"
-				UsePrecompiledHeader="0"
-				WarningLevel="3"
-				Detect64BitPortabilityProblems="true"
-				DebugInformationFormat="4"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				LinkIncremental="2"
-				GenerateDebugInformation="true"
-				SubSystem="1"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCWebDeploymentTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-		<Configuration
-			Name="Release|Win32"
-			OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-			IntermediateDirectory="$(ConfigurationName)"
-			ConfigurationType="1"
-			CharacterSet="1"
-			WholeProgramOptimization="1"
-			>
-			<Tool
-				Name="VCPreBuildEventTool"
-			/>
-			<Tool
-				Name="VCCustomBuildTool"
-			/>
-			<Tool
-				Name="VCXMLDataGeneratorTool"
-			/>
-			<Tool
-				Name="VCWebServiceProxyGeneratorTool"
-			/>
-			<Tool
-				Name="VCMIDLTool"
-			/>
-			<Tool
-				Name="VCCLCompilerTool"
-				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
-				RuntimeLibrary="2"
-				UsePrecompiledHeader="2"
-				WarningLevel="3"
-				Detect64BitPortabilityProblems="true"
-				DebugInformationFormat="3"
-			/>
-			<Tool
-				Name="VCManagedResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCResourceCompilerTool"
-			/>
-			<Tool
-				Name="VCPreLinkEventTool"
-			/>
-			<Tool
-				Name="VCLinkerTool"
-				LinkIncremental="1"
-				GenerateDebugInformation="true"
-				SubSystem="1"
-				OptimizeReferences="2"
-				EnableCOMDATFolding="2"
-				TargetMachine="1"
-			/>
-			<Tool
-				Name="VCALinkTool"
-			/>
-			<Tool
-				Name="VCManifestTool"
-			/>
-			<Tool
-				Name="VCXDCMakeTool"
-			/>
-			<Tool
-				Name="VCBscMakeTool"
-			/>
-			<Tool
-				Name="VCFxCopTool"
-			/>
-			<Tool
-				Name="VCAppVerifierTool"
-			/>
-			<Tool
-				Name="VCWebDeploymentTool"
-			/>
-			<Tool
-				Name="VCPostBuildEventTool"
-			/>
-		</Configuration>
-	</Configurations>
-	<References>
-	</References>
-	<Files>
-		<File
-			RelativePath=".\CppExe.cpp"
-			>
-		</File>
-	</Files>
-	<Globals>
-	</Globals>
-</VisualStudioProject>

samples/vs2005/EmptySolution.sln

-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Global
-	GlobalSection(SolutionProperties) = preSolution
-		HideSolutionNode = FALSE
-	EndGlobalSection
-EndGlobal

samples/vs2005/MySolution.sln

-
-Microsoft Visual Studio Solution File, Format Version 9.00
-# Visual Studio 2005
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CppExe", "CppExe\CppExe.vcproj", "{AE2461B7-236F-4278-81D3-F0D476F9A4C0}"
-EndProject
-Global
-	GlobalSection(SolutionConfigurationPlatforms) = preSolution
-		Debug|Win32 = Debug|Win32
-		Release|Win32 = Release|Win32
-	EndGlobalSection
-	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{AE2461B7-236F-4278-81D3-F0D476F9A4C0}.Debug|Win32.ActiveCfg = Debug|Win32
-		{AE2461B7-236F-4278-81D3-F0D476F9A4C0}.Debug|Win32.Build.0 = Debug|Win32
-		{AE2461B7-236F-4278-81D3-F0D476F9A4C0}.Release|Win32.ActiveCfg = Release|Win32
-		{AE2461B7-236F-4278-81D3-F0D476F9A4C0}.Release|Win32.Build.0 = Release|Win32
-	EndGlobalSection
-	GlobalSection(SolutionProperties) = preSolution
-		HideSolutionNode = FALSE
-	EndGlobalSection
-EndGlobal

samples/vs2008/CppConsoleApp/CppConsoleApp.cpp

-// CppConsoleApp.cpp : Defines the entry point for the console application.
-//
-
-#include "stdafx.h"
-
-
-int _tmain(int argc, _TCHAR* argv[])
-{
-	return 0;
-}
-

samples/vs2008/CppConsoleApp/ReadMe.txt

-========================================================================
-    CONSOLE APPLICATION : CppConsoleApp Project Overview
-========================================================================
-
-AppWizard has created this CppConsoleApp application for you.
-
-This file contains a summary of what you will find in each of the files that
-make up your CppConsoleApp application.
-
-
-CppConsoleApp.vcproj
-    This is the main project file for VC++ projects generated using an Application Wizard.
-    It contains information about the version of Visual C++ that generated the file, and
-    information about the platforms, configurations, and project features selected with the
-    Application Wizard.
-
-CppConsoleApp.cpp
-    This is the main application source file.
-
-/////////////////////////////////////////////////////////////////////////////
-Other standard files:
-
-StdAfx.h, StdAfx.cpp
-    These files are used to build a precompiled header (PCH) file
-    named CppConsoleApp.pch and a precompiled types file named StdAfx.obj.
-
-/////////////////////////////////////////////////////////////////////////////
-Other notes:
-
-AppWizard uses "TODO:" comments to indicate parts of the source code you
-should add to or customize.
-
-/////////////////////////////////////////////////////////////////////////////

samples/vs2008/CppConsoleApp/stdafx.cpp

-// stdafx.cpp : source file that includes just the standard includes
-// CppConsoleApp.pch will be the pre-compiled header
-// stdafx.obj will contain the pre-compiled type information
-
-#include "stdafx.h"
-
-// TODO: reference any additional headers you need in STDAFX.H
-// and not in this file

samples/vs2008/CppConsoleApp/stdafx.h

-// stdafx.h : include file for standard system include files,
-// or project specific include files that are used frequently, but
-// are changed infrequently
-//
-
-#pragma once
-
-#include "targetver.h"
-
-#include <stdio.h>
-#include <tchar.h>
-
-
-
-// TODO: reference additional headers your program requires here

samples/vs2008/CppConsoleApp/targetver.h

-#pragma once
-
-// The following macros define the minimum required platform.  The minimum required platform
-// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run 
-// your application.  The macros work by enabling all features available on platform versions up to and 
-// including the version specified.
-
-// Modify the following defines if you have to target a platform prior to the ones specified below.
-// Refer to MSDN for the latest info on corresponding values for different platforms.
-#ifndef _WIN32_WINNT            // Specifies that the minimum required platform is Windows Vista.
-#define _WIN32_WINNT 0x0600     // Change this to the appropriate value to target other versions of Windows.
-#endif
-

samples/vs2008/MySolution.sln

-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CppConsoleApp", "CppConsoleApp\CppConsoleApp.vcproj", "{ED6D7B68-0231-4009-817B-AAA66F4F863D}"
-EndProject
-Global
-	GlobalSection(SolutionConfigurationPlatforms) = preSolution
-		Debug|Win32 = Debug|Win32
-		Debug|x64 = Debug|x64
-		Release|Win32 = Release|Win32
-		Release|x64 = Release|x64
-	EndGlobalSection
-	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{ED6D7B68-0231-4009-817B-AAA66F4F863D}.Debug|Win32.ActiveCfg = Debug|Win32
-		{ED6D7B68-0231-4009-817B-AAA66F4F863D}.Debug|Win32.Build.0 = Debug|Win32
-		{ED6D7B68-0231-4009-817B-AAA66F4F863D}.Debug|x64.ActiveCfg = Debug|x64
-		{ED6D7B68-0231-4009-817B-AAA66F4F863D}.Debug|x64.Build.0 = Debug|x64
-		{ED6D7B68-0231-4009-817B-AAA66F4F863D}.Release|Win32.ActiveCfg = Release|Win32
-		{ED6D7B68-0231-4009-817B-AAA66F4F863D}.Release|Win32.Build.0 = Release|Win32
-		{ED6D7B68-0231-4009-817B-AAA66F4F863D}.Release|x64.ActiveCfg = Release|x64
-		{ED6D7B68-0231-4009-817B-AAA66F4F863D}.Release|x64.Build.0 = Release|x64
-	EndGlobalSection
-	GlobalSection(SolutionProperties) = preSolution
-		HideSolutionNode = FALSE
-	EndGlobalSection
-EndGlobal