mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Add MSVC command line tools example
@ -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
|
||||
|
||||
Reference in New Issue
Block a user