libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
Loading...
Searching...
No Matches
config.hpp File Reference

Compile-time feature flags and version macros for libmx. More...

Go to the source code of this file.

Macros

#define PROJECT_VERSION_MAJOR   1
 Enable OpenGL support.
#define PROJECT_VERSION_MINOR   0
 Minor version number of the project.

Detailed Description

Compile-time feature flags and version macros for libmx.

Defines feature-enable macros (WITH_GL, WITH_MIXER) and the project version numbers when not already specified by the build system.

Definition in file config.hpp.

Macro Definition Documentation

◆ PROJECT_VERSION_MAJOR

#define PROJECT_VERSION_MAJOR   1

Enable OpenGL support.

Enable SDL_mixer audio support.

Major version number of the project.

Definition at line 23 of file config.hpp.

Referenced by console::GLConsole::procDefaultCommands().

◆ PROJECT_VERSION_MINOR

#define PROJECT_VERSION_MINOR   0

Minor version number of the project.

Definition at line 28 of file config.hpp.

Referenced by console::GLConsole::procDefaultCommands().