Browse Source

SDL example: hasty readme.

ocornut 10 years ago
parent
commit
e49977a913
1 changed files with 10 additions and 0 deletions
  1. 10 0
      examples/sdl_opengl_example/README.md

+ 10 - 0
examples/sdl_opengl_example/README.md

@@ -0,0 +1,10 @@
+
+# How to Build
+
+- On Windows with Visual Studio's CLI
+
+\<sdl2path\> is your SDL2 folder.
+
+```
+cl /MD /I <sdl2path\include> /I ..\.. main.cpp imgui_impl_sdl.cpp ..\..\imgui.cpp /link /LIBPATH:<sdl2path\lib> SDL2.lib SDL2main.lib
+```