GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
build_config.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Ivar Härnqvist
2// SPDX-License-Identifier: MIT
3
4#ifndef GREM_BUILD_CONFIG_HPP
5#define GREM_BUILD_CONFIG_HPP
6
7// IWYU pragma: always_keep
8
9#ifdef _WIN32
10#ifndef WIN32_LEAN_AND_MEAN
11#define WIN32_LEAN_AND_MEAN
12#endif
13#ifndef NOMINMAX
14#define NOMINMAX
15#endif
16#endif
17
18#ifndef GREM_API
19#ifdef GREM_SHARED_LIBRARY
20#define GREM_API(moduleName) GREM_PRIVATE_API_##moduleName
21#else
22#define GREM_API(moduleName)
23#endif
24#endif
25
26#endif