setlocal
call "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Auxiliary/Build/vcvars64.bat"

cl.exe -std:c++latest -nologo -c -O2 -EHs-c- -DNDEBUG -D_USE_MATH_DEFINES -DUNICODE -D_HAS_EXCEPTIONS=0 -DSHAREWARE -GR- -GS- -utf-8 -bigobj shr3d.cpp

link.exe -OUT:"SHR3D.COM" -SUBSYSTEM:WINDOWS -NOEXP -NOIMPLIB -NOLOGO "winmm.lib" "opengl32.lib" "user32.lib" "gdi32.lib" "shell32.lib" "ole32.lib" "Advapi32.lib" "comdlg32.lib" shr3d.obj

del shr3d.obj
