From b71200a2cf02a4f0efa040940c32a1faa46ebdea Mon Sep 17 00:00:00 2001 From: Jessica James Date: Thu, 5 Jan 2017 21:16:43 -0500 Subject: [PATCH] Reworked JUPITER_VERISON slightly --- Jupiter/Jupiter.h | 6 +++++- Jupiter/Jupiter.vcxproj | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Jupiter/Jupiter.h b/Jupiter/Jupiter.h index f1dba2b..1d360dc 100644 --- a/Jupiter/Jupiter.h +++ b/Jupiter/Jupiter.h @@ -36,7 +36,11 @@ #define JUPITER_API #endif // _WIN32 -#define JUPITER_VERSION "Jupiter 0.19-dev" /** Version of this program at compile time. */ +#if !defined JUPITER_PLATFORM +#define JUPITER_PLATFORM +#endif + +#define JUPITER_VERSION "Jupiter 0.19-dev (" JUPITER_PLATFORM __DATE__ ")" /** Version of this program at compile time. */ #if defined __cplusplus extern "C" diff --git a/Jupiter/Jupiter.vcxproj b/Jupiter/Jupiter.vcxproj index 0afb001..cad7b7d 100644 --- a/Jupiter/Jupiter.vcxproj +++ b/Jupiter/Jupiter.vcxproj @@ -153,7 +153,7 @@ Full true true - WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;JUPITER_EXPORTS;%(PreprocessorDefinitions) + WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;JUPITER_EXPORTS;JUPITER_PLATFORM "$(Platform)/";%(PreprocessorDefinitions) false %(AdditionalIncludeDirectories) Async