[Sumover-dev] [svn commit] r4480 - vic/branches/mpeg4/win32/vc9

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Wed Jul 15 11:13:08 BST 2009


Author: douglask
Date: Wed Jul 15 11:12:55 2009
New Revision: 4480

Added:
   vic/branches/mpeg4/win32/vc9/
   vic/branches/mpeg4/win32/vc9/tcl2cpp.rules
   vic/branches/mpeg4/win32/vc9/yasm.rules

Log:
Initial VisualStudio 2008 custom build rules for tcl2cpp and yasm

Added: vic/branches/mpeg4/win32/vc9/tcl2cpp.rules
==============================================================================
--- (empty file)
+++ vic/branches/mpeg4/win32/vc9/tcl2cpp.rules	Wed Jul 15 11:12:55 2009
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<VisualStudioToolFile
+	Name="Tcl to C++ Tool"
+	Version="8.00"
+	>
+	<Rules>
+		<CustomBuildRule
+			Name="tcl2cpp"
+			DisplayName="Tcl to C++ Tool"
+			CommandLine="&quot;$(OutDir)\tcl2cpp&quot; [Pass]  [Inputs] &gt; [OutputFileName]"
+			Outputs="$(OutDir)\$(InputName).cpp"
+			FileExtensions="*.tcl"
+			ExecutionDescription="tcl2cpp generating &quot;$(InputName).cpp&quot;."
+			>
+			<Properties>
+				<IntegerProperty
+					Name="Pass"
+					DisplayName="Pass"
+					Description="Select the pass level"
+					Switch="[value]"
+					DefaultValue="2"
+				/>
+				<StringProperty
+					Name="OutputFileName"
+					DisplayName="Output File Name"
+					Category="Output"
+					Description="Select the output file name"
+					Switch="[value]"
+					DefaultValue="&quot;$(OutDir)\$(InputName).cpp&quot;"
+				/>
+			</Properties>
+		</CustomBuildRule>
+	</Rules>
+</VisualStudioToolFile>

Added: vic/branches/mpeg4/win32/vc9/yasm.rules
==============================================================================
--- (empty file)
+++ vic/branches/mpeg4/win32/vc9/yasm.rules	Wed Jul 15 11:12:55 2009
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="utf-8"?>
+<VisualStudioToolFile
+	Name="Yasm"
+	Version="8.00"
+	>
+	<Rules>
+		<CustomBuildRule
+			Name="YASM"
+			DisplayName="Yasm Assembler"
+			CommandLine="yasm -Xvc -f $(PlatformName) [AllOptions] [AdditionalOptions] [Inputs]"
+			Outputs="[$ObjectFileName]"
+			FileExtensions="*.asm"
+			ExecutionDescription="Assembling $(InputFileName)"
+			ShowOnlyRuleProperties="false"
+			>
+			<Properties>
+				<StringProperty
+					Name="Defines"
+					DisplayName="Definitions"
+					Category="Pre-Defined Symbols"
+					Description="Specify pre-defined symbols (&apos;symbol&apos; or &apos;symbol = value&apos;) "
+					Switch="-D [value]"
+					Delimited="true"
+					Inheritable="true"
+				/>
+				<StringProperty
+					Name="IncludePaths"
+					DisplayName="Include Paths"
+					Category="Configuration"
+					Description="Set the paths for any additional include files"
+					Switch="-I &quot;[value]&quot;"
+					Delimited="true"
+					Inheritable="true"
+				/>
+				<StringProperty
+					Name="UnDefines"
+					DisplayName="Remove Definitions"
+					Category="Pre-Defined Symbols"
+					Description="Remove pre-defined symbols "
+					Switch="-U [value]"
+					Delimited="true"
+					Inheritable="true"
+				/>
+				<StringProperty
+					Name="ObjectFileName"
+					DisplayName="Object File Name"
+					Category="Output"
+					Description="Select the output file name"
+					Switch="-o &quot;[value]&quot;"
+					DefaultValue="$(IntDir)\$(InputName).obj"
+				/>
+				<StringProperty
+					Name="ListFileName"
+					DisplayName="List File Name"
+					Category="Output"
+					Description="Select an output listing by setting its file name"
+					Switch="-l &quot;[value]&quot;"
+				/>
+				<StringProperty
+					Name="PreIncludeFile"
+					DisplayName="Pre Include File"
+					Category="Configuration"
+					Description="Select a pre-included file by setting its name"
+					Switch="-P &quot;[value]&quot;"
+				/>
+				<BooleanProperty
+					Name="Debug"
+					DisplayName="Debug Information"
+					Category="Output"
+					Description="Generate debugging information"
+					Switch="-g cv8"
+				/>
+				<EnumProperty
+					Name="PreProc"
+					DisplayName="Pre-Processor"
+					Category="Configuration"
+					Description="Select the pre-processor (&apos;nasm&apos; or &apos;raw&apos;)"
+					>
+					<Values>
+						<EnumValue
+							Value="0"
+							Switch="-rnasm"
+							DisplayName="Nasm "
+						/>
+						<EnumValue
+							Value="1"
+							Switch="-rraw"
+							DisplayName="Raw"
+						/>
+					</Values>
+				</EnumProperty>
+				<EnumProperty
+					Name="Parser"
+					DisplayName="Parser"
+					Category="Configuration"
+					Description="Select the parser for Intel (&apos;nasm&apos;) or AT&amp;T ( &apos;gas&apos;) syntax"
+					>
+					<Values>
+						<EnumValue
+							Value="0"
+							Switch="-pnasm"
+							DisplayName="Nasm"
+						/>
+						<EnumValue
+							Value="1"
+							Switch="-pgas"
+							DisplayName="Gas"
+						/>
+					</Values>
+				</EnumProperty>
+			</Properties>
+		</CustomBuildRule>
+	</Rules>
+</VisualStudioToolFile>



More information about the Sumover-dev mailing list