Skip to content

Commit

Permalink
Build MSVC variant for Windows Subsystem
Browse files Browse the repository at this point in the history
  • Loading branch information
rexim committed Feb 8, 2024
1 parent 12b9926 commit 6b51040
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/nob_win64_msvc.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ bool build_musializer(void)
);
nob_cmd_append(&cmd,
"/link",
"/SUBSYSTEM:WINDOWS",
"/entry:mainCRTStartup",
nob_temp_sprintf("/LIBPATH:build/raylib/%s", MUSIALIZER_TARGET_NAME),
"raylib.lib");
nob_cmd_append(&cmd, "Winmm.lib", "gdi32.lib", "User32.lib", "Shell32.lib", "./build/musializer.res");
Expand Down

0 comments on commit 6b51040

Please sign in to comment.