sfw/tools/merger/sfw_3rd.x.inl

78 lines
1.6 KiB
Plaintext
Raw Permalink Normal View History

2024-01-05 10:09:35 +01:00
{{FILEINLINE:tools/merger/sfw_readme.inl.h}}
{{FILEINLINE:tools/merger/sfw_linceses_core.inl.h}}
{{FILEINLINE:tools/merger/sfw_linceses_render_core.inl.h}}
2024-01-05 10:09:35 +01:00
// On OSX you need to compile this file separately with an objective c compiler
2024-01-19 00:04:37 +01:00
#ifndef ONLY_GLAD
#ifdef __APPLE__
2024-01-19 00:04:37 +01:00
#ifndef _APPLE_NO_IMPL_
#ifndef SFW_3RD_IMPL
#define SFW_3RD_IMPL
2024-01-19 00:04:37 +01:00
#endif //SFW_3RD_IMPL
#endif //_APPLE_NO_IMPL_
#endif //__APPLE__
2024-01-05 15:23:30 +01:00
#ifdef SFW_3RD_IMPL
2024-01-05 13:22:42 +01:00
#define GLAD_GL_IMPLEMENTATION // glad
2024-01-19 00:04:37 +01:00
#endif //SFW_3RD_IMPL
#endif //ONLY_GLAD
2024-01-05 10:09:35 +01:00
{{FILE:sfw/render_core/3rd_glad.h}}
2024-01-19 00:04:37 +01:00
#ifndef ONLY_GLAD
2024-01-05 15:23:30 +01:00
#ifdef SFW_3RD_IMPL
2024-01-05 10:09:35 +01:00
#define STB_TRUETYPE_IMPLEMENTATION
2024-09-14 21:38:18 +02:00
#define STB_RECT_PACK_IMPLEMENTATION
#define IMGUI_DISABLE_STB_RECT_PACK_IMPLEMENTATION
2024-01-19 00:04:37 +01:00
#endif //SFW_3RD_IMPL
2024-01-05 10:09:35 +01:00
2024-09-14 21:38:18 +02:00
{{FILE:sfw/render_gui/imstb_rectpack.h}}
2024-01-05 13:22:42 +01:00
{{FILE:sfw/render_core/3rd_stb_truetype.h}}
2024-01-05 10:09:35 +01:00
2024-01-19 00:04:37 +01:00
#ifdef SFW_3RD_IMPL
2024-01-05 10:09:35 +01:00
#define STB_IMAGE_IMPLEMENTATION // stbi
#define STB_IMAGE_WRITE_IMPLEMENTATION // stbi_write
#define STB_SPRINTF_IMPLEMENTATION // stb_sprintf
#define STB_SPRINTF_NOUNALIGNED // stb_sprintf
2024-01-19 00:04:37 +01:00
#endif //SFW_3RD_IMPL
2024-01-05 10:09:35 +01:00
{{FILE:sfw/render_core/3rd_stb_image.h}}
2024-01-13 21:42:17 +01:00
{{FILE:sfw/render_core/3rd_stb_image_write.h}}
2024-01-05 10:09:35 +01:00
//---
#undef freelist
2024-01-19 00:04:37 +01:00
#ifdef SFW_3RD_IMPL
2024-01-05 10:09:35 +01:00
#define _GLFW_IMPLEMENTATION // glfw337
#define GLFW_INCLUDE_NONE // glfw337
#ifdef __APPLE__
#define _GLFW_COCOA // glfw osx
#elif defined(_WIN32) || defined(_WIN64)
#define _GLFW_WIN32 // glfw win32
#else
#define _GLFW_X11 // glfw linux, also _GLFW_OSMESA or _GLFW_WAYLAND
#endif
#undef _GNU_SOURCE
2024-01-19 00:04:37 +01:00
#endif //SFW_3RD_IMPL
2024-01-05 10:09:35 +01:00
{{FILE:sfw/render_core/3rd_glfw3.h}}
#undef timeGetTime
#undef Time
2024-01-05 15:23:30 +01:00
2024-01-19 01:41:39 +01:00
#endif //ONLY_GLAD
2024-01-19 00:04:37 +01:00