diff options
| author | patrick-scho | 2025-11-04 17:07:28 +0100 |
|---|---|---|
| committer | patrick-scho | 2025-11-04 17:07:28 +0100 |
| commit | 20b46fb7ea34b0241a40f7565a9db8c0656da01e (patch) | |
| tree | 639e30463305f01d8171709fed54bd4dd57a040e | |
| parent | 81f259240d157ddcb0cb692826855d7505f4a22f (diff) | |
| download | autorec-20b46fb7ea34b0241a40f7565a9db8c0656da01e.tar.gz autorec-20b46fb7ea34b0241a40f7565a9db8c0656da01e.zip | |
update build script
| -rw-r--r-- | build.cmd | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -3,5 +3,9 @@ REM cl src/mongoose.c -c
REM rc res/res.rc
-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
\ 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 |
