From af4dc4b4015f800a1f062cfc21eb0269e6092029 Mon Sep 17 00:00:00 2001 From: veganaiZe Date: Thu, 15 Feb 2024 08:32:23 -0800 Subject: [PATCH] Add MSVC command line tools example --- Working-on-Windows.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Working-on-Windows.md b/Working-on-Windows.md index d699574..0f35a06 100644 --- a/Working-on-Windows.md +++ b/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