summaryrefslogtreecommitdiffstats
path: root/deps/include/entt/config
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-28 01:59:49 +0500
committeruntodesu <kirill@untode.su>2025-06-28 01:59:49 +0500
commit61e5bcef2629e2d68b805a956a96fff264d4f74d (patch)
treebca3a94bac79d34e3c0db57c77604f5a823ecbda /deps/include/entt/config
parent88c01588aa0830e219eaa62588839e4d1e2883ce (diff)
downloadvoxelius-61e5bcef2629e2d68b805a956a96fff264d4f74d.tar.bz2
voxelius-61e5bcef2629e2d68b805a956a96fff264d4f74d.zip
Restructure dependencies and update to C++20
- Nuked static_assert from almost everywhere in the project - Nuked binary dependency support. Might add one later though - Separated dependency headers into a separate include subdirectory - Grafted a thirdpartylegalnotices.txt generator from RITEG - Pushed development snapshot version to 2126 (26th week of 2025)
Diffstat (limited to 'deps/include/entt/config')
-rw-r--r--deps/include/entt/config/config.h95
-rw-r--r--deps/include/entt/config/macro.h11
-rw-r--r--deps/include/entt/config/version.h18
3 files changed, 0 insertions, 124 deletions
diff --git a/deps/include/entt/config/config.h b/deps/include/entt/config/config.h
deleted file mode 100644
index 325a141..0000000
--- a/deps/include/entt/config/config.h
+++ /dev/null
@@ -1,95 +0,0 @@
-#ifndef ENTT_CONFIG_CONFIG_H
-#define ENTT_CONFIG_CONFIG_H
-
-#include "version.h"
-
-// NOLINTBEGIN(cppcoreguidelines-macro-usage)
-
-#if defined(__cpp_exceptions) && !defined(ENTT_NOEXCEPTION)
-# define ENTT_CONSTEXPR
-# define ENTT_THROW throw
-# define ENTT_TRY try
-# define ENTT_CATCH catch(...)
-#else
-# define ENTT_CONSTEXPR constexpr // use only with throwing functions (waiting for C++20)
-# define ENTT_THROW
-# define ENTT_TRY if(true)
-# define ENTT_CATCH if(false)
-#endif
-
-#ifdef ENTT_USE_ATOMIC
-# include <atomic>
-# define ENTT_MAYBE_ATOMIC(Type) std::atomic<Type>
-#else
-# define ENTT_MAYBE_ATOMIC(Type) Type
-#endif
-
-#ifndef ENTT_ID_TYPE
-# include <cstdint>
-# define ENTT_ID_TYPE std::uint32_t
-#else
-# include <cstdint> // provides coverage for types in the std namespace
-#endif
-
-#ifndef ENTT_SPARSE_PAGE
-# define ENTT_SPARSE_PAGE 4096
-#endif
-
-#ifndef ENTT_PACKED_PAGE
-# define ENTT_PACKED_PAGE 1024
-#endif
-
-#ifdef ENTT_DISABLE_ASSERT
-# undef ENTT_ASSERT
-# define ENTT_ASSERT(condition, msg) (void(0))
-#elif !defined ENTT_ASSERT
-# include <cassert>
-# define ENTT_ASSERT(condition, msg) assert(condition)
-#endif
-
-#ifdef ENTT_DISABLE_ASSERT
-# undef ENTT_ASSERT_CONSTEXPR
-# define ENTT_ASSERT_CONSTEXPR(condition, msg) (void(0))
-#elif !defined ENTT_ASSERT_CONSTEXPR
-# define ENTT_ASSERT_CONSTEXPR(condition, msg) ENTT_ASSERT(condition, msg)
-#endif
-
-#define ENTT_FAIL(msg) ENTT_ASSERT(false, msg);
-
-#ifdef ENTT_NO_ETO
-# define ENTT_ETO_TYPE(Type) void
-#else
-# define ENTT_ETO_TYPE(Type) Type
-#endif
-
-#ifdef ENTT_NO_MIXIN
-# define ENTT_STORAGE(Mixin, ...) __VA_ARGS__
-#else
-# define ENTT_STORAGE(Mixin, ...) Mixin<__VA_ARGS__>
-#endif
-
-#ifdef ENTT_STANDARD_CPP
-# define ENTT_NONSTD false
-#else
-# define ENTT_NONSTD true
-# if defined __clang__ || defined __GNUC__
-# define ENTT_PRETTY_FUNCTION __PRETTY_FUNCTION__
-# define ENTT_PRETTY_FUNCTION_PREFIX '='
-# define ENTT_PRETTY_FUNCTION_SUFFIX ']'
-# elif defined _MSC_VER
-# define ENTT_PRETTY_FUNCTION __FUNCSIG__
-# define ENTT_PRETTY_FUNCTION_PREFIX '<'
-# define ENTT_PRETTY_FUNCTION_SUFFIX '>'
-# endif
-#endif
-
-#if defined _MSC_VER
-# pragma detect_mismatch("entt.version", ENTT_VERSION)
-# pragma detect_mismatch("entt.noexcept", ENTT_XSTR(ENTT_TRY))
-# pragma detect_mismatch("entt.id", ENTT_XSTR(ENTT_ID_TYPE))
-# pragma detect_mismatch("entt.nonstd", ENTT_XSTR(ENTT_NONSTD))
-#endif
-
-// NOLINTEND(cppcoreguidelines-macro-usage)
-
-#endif
diff --git a/deps/include/entt/config/macro.h b/deps/include/entt/config/macro.h
deleted file mode 100644
index 8c5ed52..0000000
--- a/deps/include/entt/config/macro.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifndef ENTT_CONFIG_MACRO_H
-#define ENTT_CONFIG_MACRO_H
-
-// NOLINTBEGIN(cppcoreguidelines-macro-usage)
-
-#define ENTT_STR(arg) #arg
-#define ENTT_XSTR(arg) ENTT_STR(arg)
-
-// NOLINTEND(cppcoreguidelines-macro-usage)
-
-#endif
diff --git a/deps/include/entt/config/version.h b/deps/include/entt/config/version.h
deleted file mode 100644
index 9f7e0fc..0000000
--- a/deps/include/entt/config/version.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef ENTT_CONFIG_VERSION_H
-#define ENTT_CONFIG_VERSION_H
-
-#include "macro.h"
-
-// NOLINTBEGIN(cppcoreguidelines-macro-usage)
-
-#define ENTT_VERSION_MAJOR 3
-#define ENTT_VERSION_MINOR 14
-#define ENTT_VERSION_PATCH 0
-
-#define ENTT_VERSION \
- ENTT_XSTR(ENTT_VERSION_MAJOR) \
- "." ENTT_XSTR(ENTT_VERSION_MINOR) "." ENTT_XSTR(ENTT_VERSION_PATCH)
-
-// NOLINTEND(cppcoreguidelines-macro-usage)
-
-#endif