39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
#pragma once
|
|
|
|
// General
|
|
#cmakedefine MCPI_VERSION "@MCPI_VERSION@"
|
|
#cmakedefine MCPI_AUTHOR "@MCPI_AUTHOR@"
|
|
#cmakedefine MCPI_ARCH "@MCPI_ARCH@"
|
|
|
|
// App Information
|
|
#cmakedefine MCPI_APP_TITLE "@MCPI_APP_TITLE@"
|
|
#cmakedefine MCPI_APP_ID "@MCPI_APP_ID@"
|
|
#cmakedefine MCPI_APP_NAME "@MCPI_APP_NAME@"
|
|
|
|
// Extra Options
|
|
#cmakedefine MCPI_SKIN_SERVER "@MCPI_SKIN_SERVER@"
|
|
#cmakedefine MCPI_DISCORD_INVITE "@MCPI_DISCORD_INVITE@"
|
|
#cmakedefine MCPI_REPO "@MCPI_REPO@"
|
|
|
|
// Documentation
|
|
#cmakedefine MCPI_DOCS "@MCPI_DOCUMENTATION@"
|
|
#define MCPI_DOCS_CHANGELOG MCPI_DOCS "CHANGELOG.md"
|
|
#define MCPI_DOCS_GETTING_STARTED MCPI_DOCS "GETTING_STARTED.md"
|
|
|
|
// Internal
|
|
#cmakedefine MCPI_USE_PREBUILT_ARMHF_TOOLCHAIN
|
|
#cmakedefine MCPI_SDK_DIR "@MCPI_SDK_DIR@"
|
|
|
|
// AppImage
|
|
#cmakedefine MCPI_IS_APPIMAGE_BUILD
|
|
#cmakedefine MCPI_APPIMAGE_JSON_URL "@MCPI_APPIMAGE_JSON_URL@"
|
|
#cmakedefine MCPI_APPIMAGE_VERSION_PLACEHOLDER "@MCPI_APPIMAGE_VERSION_PLACEHOLDER@"
|
|
#cmakedefine MCPI_APPIMAGE_DOWNLOAD_URL "@MCPI_APPIMAGE_DOWNLOAD_URL@"
|
|
|
|
// Flatpak
|
|
#cmakedefine MCPI_IS_FLATPAK_BUILD
|
|
|
|
// Access Configuration At Runtime
|
|
const char *reborn_get_version();
|
|
bool reborn_is_headless();
|
|
bool reborn_is_server(); |