wiki

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

app.wht (874B)


      1 sokol_app.h
      2 ________________________________________________________________________________
      3 
      4 Cross-platform application wrapper single-header library.
      5 
      6 [000] References
      7 ________________________________________________________________________________
      8 
      9 * ........................................................................ [000]
     10 
     11 [000] Init
     12 ________________________________________________________________________________
     13 
     14 Define 'SOKOL_IMPL' (general) or 'SOKOL_APP_IMPL' (only sokol_app)
     15 
     16 [000] Compiling
     17 ________________________________________________________________________________
     18 
     19 Linux:
     20 - All   , '-lX11 -lXi -lXcursor -ldl -lpthread -lm -pthread'
     21 - OpenGL, '-lGL'
     22 - GLES3 , '-lGLESv2'
     23 - WebGPU, ...
     24 - Vulkan, '-lvulkan'
     25 - EGL   , '-lEGL'
     26 
     27 Windows:
     28 - MINGW/MSYS2, '-mwin32 -lkernel32 -luser32 -lshell32'
     29 - OpenGL     , '-lgdi32'
     30 - D3D11      , '-ld3d11 -ldxgi'