Skip to content

Commit

Permalink
contrib/MSVC6.txt: Add guide how to use nasm in MSVC6
Browse files Browse the repository at this point in the history
It's possible to use nasm as asm compiled right within
MSVC6 IDE. Lets point it out via a small guide.

Signed-off-by: Alexander Ilyin <[email protected]>
Signed-off-by: Cyrill Gorcunov <[email protected]>
  • Loading branch information
Alexander Ilyin authored and cyrillos committed Jan 24, 2010
1 parent f9958fa commit 424f7bb
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions contrib/MSVC6.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Compilation with Nasm on MSVC 6.0, with usage of Custom Build step.

1) Open your project in MSVC.

2) Add .asm at the list of source files.

3) Click on it with the right button, further press Settings...

4) In General tab, flags "Always use custom build step" and "Exclude file
from build" should be disabled.

5) In "Custom Build" tab it is necessary to define "Commands" and "Outputs"
(By "Outputs" build system checks if it has reached a necessary result.
This parameter is mandatory and without it MSVC will not let you close
the window by OK button).

The "Commands" should be set to

nasmw.exe -fwin -o $(OUTDIR)\$(InputName).obj $(InputName).asm

And "Outputs" to

$(OUTDIR)\$(InputName).obj

Have fun!

0 comments on commit 424f7bb

Please sign in to comment.