Add MSVC command line tools example

master
veganaiZe 1 year ago
parent
commit
af4dc4b401
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Working-on-Windows.md

+ 4
- 0
Working-on-Windows.md

@ -82,3 +82,7 @@ Open `w64devkit.exe` in `C:\raylib\w64devkit` then cd to `c:/raylib/raylib/examp
gcc core_basic_window.c -lraylib -lopengl32 -lgdi32 -lwinmm
This will output `a.exe` to the current directory, where you can run it with `./a.exe`.
### Build ONE example using msvc/cl
cl gdi32.lib kernel32.lib msvcrt.lib opengl32.lib raylib.lib shell32.lib user32.lib winmm.lib filename.c -Ic:\path\to\raylib\include /link /libpath:c:\path\to\raylib\lib /NODEFAULTLIB:libcmt

Loading…
Cancel
Save