| 1 | #cxx . . $ `<file>/sokol/sokol.c`/define SOKOL_IMPLcxx . . $ `sokol/sokol.c:1:9`! |
| 2 | #if defined(_MSC_VER) |
| 3 | #define SOKOL_D3D11 |
| 4 | #elif defined(__EMSCRIPTEN__) |
| 5 | #define SOKOL_GLES3 |
| 6 | #elif defined(__APPLE__) |
| 7 | // NOTE: on macOS, sokol.c is compiled explicitly as ObjC |
| 8 | //#define SOKOL_GLCORE |
| 9 | #define SOKOL_METAL |
| 10 | #else |
| 11 | #define SOKOL_GLCOREcxx . . $ `sokol/sokol.c:11:9`! |
| 12 | #endif |
| 13 | #include "sokol_app.h"cxx . . $ `<file>/sokol/sokol_app.h`/ |
| 14 | #include "sokol_gfx.h"cxx . . $ `<file>/sokol/sokol_gfx.h`/ |
| 15 | #include "sokol_audio.h"cxx . . $ `<file>/sokol/sokol_audio.h`/ |
| 16 | #include "sokol_glue.h"cxx . . $ `<file>/sokol/sokol_glue.h`/ |
| 17 | #include "sokol_log.h"cxx . . $ `<file>/sokol/sokol_log.h`/ |