487 B、8行 生 Blame 履歴
1@REM Build for Visual Studio compiler. Run your copy of vcvars32.bat or vcvarsall.bat to setup command-line compiler.
2@set OUT_DIR=Debug
3@set OUT_EXE=example_win32_opengl3
4@set INCLUDES=/I..\.. /I..\..\backends
5@set SOURCES=main.cpp ..\..\backends\imgui_impl_opengl3.cpp ..\..\backends\imgui_impl_win32.cpp ..\..\imgui*.cpp
6@set LIBS=opengl32.lib
7mkdir %OUT_DIR%
8cl /nologo /Zi /MD /utf-8 %INCLUDES% /D UNICODE /D _UNICODE %SOURCES% /Fe%OUT_DIR%/%OUT_EXE%.exe /Fo%OUT_DIR%/ /link %LIBS%