libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
Loading...
Searching...
No Matches
config.hpp
Go to the documentation of this file.
1/**
2 * @file config.hpp
3 * @brief Compile-time feature flags and version macros for libmx.
4 *
5 * Defines feature-enable macros (WITH_GL, WITH_MIXER) and the project
6 * version numbers when not already specified by the build system.
7 */
8#ifndef __FILES__H_
9#define __FILES__H_
10
11/** @brief Enable OpenGL support. */
12#ifndef WITH_GL
13#define WITH_GL
14#endif
15
16/** @brief Enable SDL_mixer audio support. */
17#ifndef WITH_MIXER
18#define WITH_MIXER
19#endif
20
21/** @brief Major version number of the project. */
22#ifndef PROJECT_VERSION_MAJOR
23#define PROJECT_VERSION_MAJOR 1
24#endif
25
26/** @brief Minor version number of the project. */
27#ifndef PROJECT_VERSION_MINOR
28#define PROJECT_VERSION_MINOR 0
29#endif
30#endif