X-Git-Url: https://gitweb.ps.run/autorec/blobdiff_plain/3ec9dfbe56f54f699f2d5efb4e3a4be96e157bc0..HEAD:/build.cmd diff --git a/build.cmd b/build.cmd index c559480..1e96a13 100644 --- a/build.cmd +++ b/build.cmd @@ -3,5 +3,9 @@ REM cl src/mongoose.c -c REM rc res/res.rc -cl /EHsc /Zi src/main.cpp mongoose.obj /link user32.lib gdi32.lib shell32.lib Shlwapi.lib ws2_32.lib res/res.res -mt -manifest .\main.exe.manifest -outputresource:main.exe;1 \ No newline at end of file +REM cl /EHsc src/main.cpp src/mongoose.c /Fo"./out"/ /link user32.lib gdi32.lib shell32.lib Shlwapi.lib ws2_32.lib res/res.res /out:out/main.exe +REM mt -manifest res/main.exe.manifest -outputresource:main.exe;1 + +REM clang++ src/main.cpp src/mongoose.c -luser32 -lgdi32 -lshell32 -lShlwapi -lws2_32 res\res.res -o out/main.exe -Wno-deprecated -Wno-deprecated-declarations + +zig c++ src/main.cpp src/mongoose.c -luser32 -lgdi32 -lshell32 -lshlwapi -lws2_32 res/res.res -o out/main.exe -Wl,--subsystem,windows \ No newline at end of file