Files
XmengMD ed906b4f27 版本号统一在 CMake 顶部维护并注入宏;PluginHost 复用应用图标;更新 README 说明
CMakeLists 顶部新增 MINIXER_VERSION_MAJOR/MINOR/PATCH 与 MINIXER_DISPLAY_VERSION 单点维护,Windows PE 版本与 UI 展示字符串均由一处派生,并通过编译宏注入主程序与 PluginHost;PluginHost 目标补入 MixerLookAndFeel 源码并复用应用 .ico 生成图标资源。

JuceHeader.h 的 ProjectInfo::versionString/versionNumber 改为由宏派生并保留 Projucer 导出兜底值;About 窗口版本文字改读 ProjectInfo::versionString;README 同步更新版本号维护说明(中英文)。
2026-09-17 17:16:58 +08:00

60 lines
2.4 KiB
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
This is the header file that your files should include in order to get all the
JUCE library headers. You should avoid including the JUCE headers directly in
your own source files, because that wouldn't pick up the correct configuration
options for your app.
*/
#pragma once
#include <juce_audio_basics/juce_audio_basics.h>
#include <juce_audio_devices/juce_audio_devices.h>
#include <juce_audio_formats/juce_audio_formats.h>
#include <juce_audio_processors/juce_audio_processors.h>
#include <juce_audio_utils/juce_audio_utils.h>
#include <juce_core/juce_core.h>
#include <juce_data_structures/juce_data_structures.h>
#include <juce_events/juce_events.h>
#include <juce_graphics/juce_graphics.h>
#include <juce_gui_basics/juce_gui_basics.h>
#include <juce_gui_extra/juce_gui_extra.h>
#if defined (JUCE_PROJUCER_VERSION) && JUCE_PROJUCER_VERSION < JUCE_VERSION
/** If you've hit this error then the version of the Projucer that was used to generate this project is
older than the version of the JUCE modules being included. To fix this error, re-save your project
using the latest version of the Projucer or, if you aren't using the Projucer to manage your project,
remove the JUCE_PROJUCER_VERSION define.
*/
#error "This project was last saved using an outdated version of the Projucer! Re-save this project with the latest version to fix this error."
#endif
#if ! JUCE_DONT_DECLARE_PROJECTINFO
namespace ProjectInfo
{
const char* const projectName = "Minixer";
const char* const companyName = "";
// 版本字符串/版本号统一由 CMake(CMakeLists.txt 顶部)派生并注入宏;
// 未通过 CMake 编译(如 Projucer 直接导出)时使用下列兜底值。
#if defined (MINIXER_DISPLAY_VERSION)
const char* const versionString = MINIXER_DISPLAY_VERSION;
#else
const char* const versionString = "0.4.1 Beta";
#endif
#if defined (MINIXER_VERSION_MAJOR) && defined (MINIXER_VERSION_MINOR) && defined (MINIXER_VERSION_PATCH)
const int versionNumber = (MINIXER_VERSION_MAJOR << 16)
| (MINIXER_VERSION_MINOR << 8)
| MINIXER_VERSION_PATCH;
#else
const int versionNumber = 0x40100;
#endif
}
#endif