Skip to content

Commit

Permalink
Disable generating debug information by default.
Browse files Browse the repository at this point in the history
The debug information generated by nasm is not completely compatable with certain VS versions and can cause link failures.
  • Loading branch information
Sibras committed Jun 3, 2018
1 parent 0492bf5 commit dfb77f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nasm.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<ItemDefinitionGroup>
<NASM>
<ObjectFileName>$(IntDir)%(FileName).obj</ObjectFileName>
<GenerateDebugInformation>true</GenerateDebugInformation>
<CommandLineTemplate Condition="'$(Platform)' == 'Win32'">"$(NasmPath)"nasm.exe -Xvc -f win32 [AllOptions] [AdditionalOptions] "%(FullPath)"</CommandLineTemplate>
<CommandLineTemplate Condition="'$(Platform)' == 'x64'">"$(NasmPath)"nasm.exe -Xvc -f win64 [AllOptions] [AdditionalOptions] "%(FullPath)"</CommandLineTemplate>
<CommandLineTemplate Condition="'$(Platform)' != 'Win32' and '$(Platform)' != 'x64'">echo NASM not supported on this platform
Expand Down

0 comments on commit dfb77f8

Please sign in to comment.