Browse Source

Compiling with VS2012

- updated nasm binaries;
- updated template files to reflect new paths to nasm binaries;

Now .asm files compile with /safeseh option.
Nick-IronTower 12 years ago
parent
commit
4543e85d76

BIN
Engine/bin/nasm/nasm.exe


BIN
Engine/bin/nasm/nasmw.exe


BIN
Engine/bin/nasm/ndisasm.exe


BIN
Engine/bin/nasm/ndisasmw.exe


+ 3 - 3
Tools/projectGenerator/templates/vc2010_fileRecurse.tpl

@@ -27,11 +27,11 @@
    {else}
       {if substr($dirWalk->path, -4, 4) == ".asm"}
          <CustomBuild Include="{$dirWalk->path|replace:'//':'/'|replace:'/':'\\'}">
-            <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"</Command>
+            <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"</Command>
             <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename).obj;%(Outputs)</Outputs>
-            <Command Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"</Command>
+            <Command Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"</Command>
             <Outputs Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">$(IntDir)%(Filename).obj;%(Outputs)</Outputs>
-            <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"</Command>
+            <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"</Command>
             <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename).obj;%(Outputs)</Outputs>
          </CustomBuild>
       {elseif $projOutput->isSourceFile( $dirWalk->path ) }

+ 3 - 3
Tools/projectGenerator/templates/vc2k8_fileRecurse.tpl

@@ -65,21 +65,21 @@
 		Name="Debug|Win32">
 		<Tool
 			Name="VCCustomBuildTool"
-			CommandLine="&quot;{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe&quot; -f win32 &quot;$(InputPath)&quot; -o &quot;$(IntDir)/$(InputName).obj&quot;"
+			CommandLine="&quot;{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe&quot; -f win32 &quot;$(InputPath)&quot; -o &quot;$(IntDir)/$(InputName).obj&quot;"
 			Outputs="$(IntDir)/$(InputName).obj"/>
 	</FileConfiguration>
 	<FileConfiguration
 		Name="Optimized Debug|Win32">
 		<Tool
 			Name="VCCustomBuildTool"
-			CommandLine="&quot;{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe&quot; -f win32 &quot;$(InputPath)&quot; -o &quot;$(IntDir)/$(InputName).obj&quot;"
+			CommandLine="&quot;{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe&quot; -f win32 &quot;$(InputPath)&quot; -o &quot;$(IntDir)/$(InputName).obj&quot;"
 			Outputs="$(IntDir)/$(InputName).obj"/>
 	</FileConfiguration>
 	<FileConfiguration
 		Name="Release|Win32">
 		<Tool
 			Name="VCCustomBuildTool"
-         CommandLine="&quot;{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe&quot; -f win32 &quot;$(InputPath)&quot; -o &quot;$(IntDir)/$(InputName).obj&quot;"
+         CommandLine="&quot;{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe&quot; -f win32 &quot;$(InputPath)&quot; -o &quot;$(IntDir)/$(InputName).obj&quot;"
 			Outputs="$(IntDir)/$(InputName).obj"/>
 	</FileConfiguration>
 {/if}{* if path == "*.asm" *}