mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Compiling with VS2012
- updated nasm binaries; - updated template files to reflect new paths to nasm binaries; Now .asm files compile with /safeseh option.
This commit is contained in:
parent
38a1eca0be
commit
4543e85d76
BIN
Engine/bin/nasm/nasm.exe
Normal file
BIN
Engine/bin/nasm/nasm.exe
Normal file
Binary file not shown.
Binary file not shown.
BIN
Engine/bin/nasm/ndisasm.exe
Normal file
BIN
Engine/bin/nasm/ndisasm.exe
Normal file
Binary file not shown.
Binary file not shown.
|
|
@ -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 ) }
|
||||
|
|
|
|||
|
|
@ -65,21 +65,21 @@
|
|||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
CommandLine=""{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe" -f win32 "$(InputPath)" -o "$(IntDir)/$(InputName).obj""
|
||||
CommandLine=""{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe" -f win32 "$(InputPath)" -o "$(IntDir)/$(InputName).obj""
|
||||
Outputs="$(IntDir)/$(InputName).obj"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Optimized Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
CommandLine=""{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe" -f win32 "$(InputPath)" -o "$(IntDir)/$(InputName).obj""
|
||||
CommandLine=""{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe" -f win32 "$(InputPath)" -o "$(IntDir)/$(InputName).obj""
|
||||
Outputs="$(IntDir)/$(InputName).obj"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
CommandLine=""{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe" -f win32 "$(InputPath)" -o "$(IntDir)/$(InputName).obj""
|
||||
CommandLine=""{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasm.exe" -f win32 "$(InputPath)" -o "$(IntDir)/$(InputName).obj""
|
||||
Outputs="$(IntDir)/$(InputName).obj"/>
|
||||
</FileConfiguration>
|
||||
{/if}{* if path == "*.asm" *}
|
||||
|
|
|
|||
Loading…
Reference in a new issue