MS Visual Studio files for building LLVM on Win32 platforms.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17446 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/win32/TableGen/TableGen.vcproj b/win32/TableGen/TableGen.vcproj
new file mode 100644
index 0000000..431bc25
--- /dev/null
+++ b/win32/TableGen/TableGen.vcproj
@@ -0,0 +1,271 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="7.10"
+	Name="TableGen"
+	ProjectGUID="{339C2249-26B6-4172-B484-85653029AF57}"
+	Keyword="Win32Proj">
+	<Platforms>
+		<Platform
+			Name="Win32"/>
+	</Platforms>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="Debug"
+			IntermediateDirectory="Debug"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="..\..\include;.."
+				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS"
+				MinimalRebuild="TRUE"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="3"
+				ForceConformanceInForLoopScope="TRUE"
+				RuntimeTypeInfo="TRUE"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="4"
+				DisableSpecificWarnings="4800;4244;4267"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				AdditionalDependencies="support.lib"
+				OutputFile="$(OutDir)\TableGen.exe"
+				LinkIncremental="2"
+				AdditionalLibraryDirectories="C:\Project\llvm\win32\Debug"
+				GenerateDebugInformation="TRUE"
+				ProgramDatabaseFile="$(OutDir)/TableGen.pdb"
+				SubSystem="1"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"
+				CommandLine="copy $(OutDir)\TableGen.exe ..\tools"/>
+			<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="Release"
+			IntermediateDirectory="Release"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				AdditionalIncludeDirectories="..\..\include;.."
+				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;__STDC_LIMIT_MACROS"
+				RuntimeLibrary="2"
+				ForceConformanceInForLoopScope="TRUE"
+				RuntimeTypeInfo="TRUE"
+				UsePrecompiledHeader="0"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="3"
+				DisableSpecificWarnings="4099;4800;4244;4267"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)\TableGen.exe"
+				LinkIncremental="1"
+				AdditionalLibraryDirectories="C:\Project\llvm\win32\Release"
+				GenerateDebugInformation="TRUE"
+				SubSystem="1"
+				OptimizeReferences="2"
+				EnableCOMDATFolding="2"
+				TargetMachine="1"/>
+			<Tool
+				Name="VCMIDLTool"/>
+			<Tool
+				Name="VCPostBuildEventTool"
+				CommandLine="copy $(OutDir)\TableGen.exe ..\tools"/>
+			<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>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
+			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
+			<File
+				RelativePath="..\..\utils\TableGen\AsmWriterEmitter.cpp">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\CodeEmitterGen.cpp">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\CodeGenTarget.cpp">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\FileLexer.l">
+				<FileConfiguration
+					Name="Debug|Win32">
+					<Tool
+						Name="VCCustomBuildTool"
+						CommandLine="..\tools\flex -t &gt;$(InputDir)$(InputName).cpp $(InputPath)
+"
+						Outputs="$(InputDir)$(InputName).cpp"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32">
+					<Tool
+						Name="VCCustomBuildTool"
+						CommandLine="..\tools\flex -t &gt;$(InputDir)$(InputName).cpp $(InputPath)
+"
+						Outputs="$(InputDir)$(InputName).cpp"/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\FileParser.y">
+				<FileConfiguration
+					Name="Debug|Win32">
+					<Tool
+						Name="VCCustomBuildTool"
+						CommandLine="..\tools\bison -pFile -tdo$(InputDir)$(InputName).cpp $(InputPath)
+copy $(InputDir)$(InputName).hpp $(InputDir)$(InputName).h
+"
+						Outputs="$(InputDir)$(InputName).cpp;$(InputDir)$(InputName).h"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32">
+					<Tool
+						Name="VCCustomBuildTool"
+						CommandLine="..\tools\bison -pFile -tdo$(InputDir)$(InputName).cpp $(InputPath)
+copy $(InputDir)$(InputName).hpp $(InputDir)$(InputName).h
+"
+						Outputs="$(InputDir)$(InputName).cpp;$(InputDir)$(InputName).h"/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\InstrInfoEmitter.cpp">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\InstrSelectorEmitter.cpp">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\Record.cpp">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\RegisterInfoEmitter.cpp">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\TableGen.cpp">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\TableGenBackend.cpp">
+			</File>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc;xsd"
+			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+			<File
+				RelativePath="..\..\utils\TableGen\AsmWriterEmitter.h">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\CodeEmitterGen.h">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\CodeGenInstruction.h">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\CodeGenRegisters.h">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\CodeGenTarget.h">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\InstrInfoEmitter.h">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\InstrSelectorEmitter.h">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\Record.h">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\RegisterInfoEmitter.h">
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\TableGenBackend.h">
+			</File>
+		</Filter>
+		<Filter
+			Name="Generated Files"
+			Filter="">
+			<File
+				RelativePath="..\..\utils\TableGen\FileLexer.cpp">
+				<FileConfiguration
+					Name="Debug|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						PreprocessorDefinitions="YY_SKIP_YYWRAP"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						PreprocessorDefinitions="YY_SKIP_YYWRAP"/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\fileparser.cpp">
+				<FileConfiguration
+					Name="Debug|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						DisableSpecificWarnings="4065"/>
+				</FileConfiguration>
+				<FileConfiguration
+					Name="Release|Win32">
+					<Tool
+						Name="VCCLCompilerTool"
+						DisableSpecificWarnings="4065"/>
+				</FileConfiguration>
+			</File>
+			<File
+				RelativePath="..\..\utils\TableGen\fileparser.h">
+			</File>
+		</Filter>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>