New cpp folder structure

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-07-17 22:35:52 +03:00
committed by Konstantin Pastbin
parent c9cbb64f12
commit 76ffc99abd
2390 changed files with 345 additions and 339 deletions

View File

@@ -0,0 +1,33 @@
#pragma once
#include "std/target_os.hpp"
#if defined(OMIM_OS_IPHONE)
#define GL_SILENCE_DEPRECATION
#include <OpenGLES/ES2/glext.h>
#include <OpenGLES/ES3/gl.h>
#elif defined(OMIM_OS_MAC)
#define GL_SILENCE_DEPRECATION
#include <OpenGL/glext.h>
#include <OpenGL/gl3.h>
#elif defined(OMIM_OS_WINDOWS)
#include "std/windows.hpp"
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include "3party/GL/glext.h"
#elif defined(OMIM_OS_ANDROID)
#define GL_GLEXT_PROTOTYPES
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include "android/sdk/src/main/cpp/app/organicmaps/sdk/opengl/gl3stub.h"
#include <EGL/egl.h>
#elif defined(OMIM_OS_LINUX)
#define GL_GLEXT_PROTOTYPES
#include <dlfcn.h>
#include <GL/gl.h>
#include <GL/glext.h>
#else
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glext.h>
#endif