Browse Source

update cmdline syntax in windows compilation

pull/898/head
sushitao 8 years ago
parent
commit
833ed760ae
  1. 2
      examples/sdl_opengl2_example/README.md

2
examples/sdl_opengl2_example/README.md

@ -5,7 +5,7 @@
```
set SDL2DIR=path_to_your_sdl2_folder
cl /Zi /MD /I %SDL2DIR%\include> /I ..\.. main.cpp imgui_impl_sdl.cpp ..\..\imgui*.cpp /link /LIBPATH:%SDL2DIR%\lib SDL2.lib SDL2main.lib
cl /Zi /MD /I %SDL2DIR%\include /I ..\.. main.cpp imgui_impl_sdl.cpp ..\..\imgui*.cpp /link /LIBPATH:%SDL2DIR%\lib SDL2.lib SDL2main.lib opengl32.lib /subsystem:console
```
- On Linux and similar Unixes

Loading…
Cancel
Save