← index
libmx2/MX2_Project/webmx/mx2/include/config.hpp
Source: libmx2/MX2_Project/webmx/mx2/include/config.hpp
/**
 * @file config.hpp
 * @brief 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.
 */
#ifndef __FILES__H_
#define __FILES__H_

/** @brief Enable OpenGL support. */
#ifndef WITH_GL
#define WITH_GL
#endif

/** @brief Enable SDL_mixer audio support. */
#ifndef WITH_MIXER
#define WITH_MIXER
#endif

#ifndef WITH_JPEG
#define WITH_JPEG
#endif

/** @brief Major version number of the project. */
#ifndef PROJECT_VERSION_MAJOR
#define PROJECT_VERSION_MAJOR 2 
#endif

/** @brief Minor version number of the project. */
#ifndef PROJECT_VERSION_MINOR
#define PROJECT_VERSION_MINOR 2
#endif
#endif