From 25619c070e8d67956760ea1d852fb7873faa52c3 Mon Sep 17 00:00:00 2001 From: kobake Date: Mon, 25 Jun 2018 10:56:55 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AA=E3=83=AA=E3=83=BC=E3=82=B9=E3=83=93?= =?UTF-8?q?=E3=83=AB=E3=83=89=E6=99=82=E3=81=AB=E3=83=90=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E6=96=87=E5=AD=97=E5=88=97=E6=9C=AB=E5=B0=BE?= =?UTF-8?q?=E3=81=AB=E7=A9=BA=E7=99=BD=E3=81=8C=E5=85=A5=E3=82=8B=E5=95=8F?= =?UTF-8?q?=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sakura_core/version.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sakura_core/version.h b/sakura_core/version.h index 028c3da204..59b9e25cc8 100644 --- a/sakura_core/version.h +++ b/sakura_core/version.h @@ -20,6 +20,13 @@ #define VER_CONFIG "" #endif +#ifdef _DEBUG +#define SPACE_WHEN_DEBUG " " +#else +#define SPACE_WHEN_DEBUG "" +#endif + // リソース埋め込み用バージョン文字列 // e.g. "2.3.2.0 (4a0de579) UNICODE 64bit DEBUG" -#define RESOURCE_VERSION_STRING(_VersionString) _VersionString " (" GIT_SHORT_COMMIT_HASH ") " VER_CHARSET " " VER_PLATFORM " " VER_CONFIG +// e.g. "2.3.2.0 (4a0de579) UNICODE 64bit" +#define RESOURCE_VERSION_STRING(_VersionString) _VersionString " (" GIT_SHORT_COMMIT_HASH ") " VER_CHARSET " " VER_PLATFORM SPACE_WHEN_DEBUG VER_CONFIG