mirror of
https://github.com/orange-cpp/omath.git
synced 2026-06-15 11:44:34 +00:00
added modules support
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
module;
|
||||
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <cmath>
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <expected>
|
||||
#include <filesystem>
|
||||
#include <format>
|
||||
#include <functional>
|
||||
#include <iomanip>
|
||||
#include <initializer_list>
|
||||
#include <iterator>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
#include <memory_resource>
|
||||
#include <numbers>
|
||||
#include <numeric>
|
||||
#include <optional>
|
||||
#include <queue>
|
||||
#include <ranges>
|
||||
#include <span>
|
||||
#include <sstream>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <tuple>
|
||||
#include <type_traits>
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
|
||||
#if defined(OMATH_USE_AVX2)
|
||||
#include <immintrin.h>
|
||||
#endif
|
||||
|
||||
#if defined(OMATH_USE_GCEM)
|
||||
#include <gcem.hpp>
|
||||
#endif
|
||||
|
||||
#if defined(OMATH_IMGUI_INTEGRATION)
|
||||
#include <imgui.h>
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#elif defined(__APPLE__)
|
||||
#include <mach-o/dyld.h>
|
||||
#elif defined(__linux__) || defined(__unix__)
|
||||
#include <link.h>
|
||||
#endif
|
||||
|
||||
export module omath;
|
||||
|
||||
export
|
||||
{
|
||||
#include "omath/omath.hpp"
|
||||
}
|
||||
Reference in New Issue
Block a user