mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-30 16:01:51 +00:00
2f35afe79e
fixes #216
79 lines
2.6 KiB
Text
79 lines
2.6 KiB
Text
#pragma once
|
|
|
|
#ifndef PRODUCT_VERSION_MAJOR
|
|
#define PRODUCT_VERSION_MAJOR @PRODUCT_VERSION_MAJOR@
|
|
#endif
|
|
|
|
#ifndef PRODUCT_VERSION_MINOR
|
|
#define PRODUCT_VERSION_MINOR @PRODUCT_VERSION_MINOR@
|
|
#endif
|
|
|
|
#ifndef PRODUCT_VERSION_PATCH
|
|
#define PRODUCT_VERSION_PATCH @PRODUCT_VERSION_PATCH@
|
|
#endif
|
|
|
|
#ifndef PRODUCT_VERSION_BUILD
|
|
#define PRODUCT_VERSION_BUILD @PRODUCT_VERSION_REVISION@
|
|
#endif
|
|
|
|
#ifndef FILE_VERSION_MAJOR
|
|
#define FILE_VERSION_MAJOR @PRODUCT_VERSION_MAJOR@
|
|
#endif
|
|
|
|
#ifndef FILE_VERSION_MINOR
|
|
#define FILE_VERSION_MINOR @PRODUCT_VERSION_MINOR@
|
|
#endif
|
|
|
|
#ifndef FILE_VERSION_PATCH
|
|
#define FILE_VERSION_PATCH @PRODUCT_VERSION_PATCH@
|
|
#endif
|
|
|
|
#ifndef FILE_VERSION_BUILD
|
|
#define FILE_VERSION_BUILD @PRODUCT_VERSION_REVISION@
|
|
#endif
|
|
|
|
#ifndef __TO_STRING
|
|
#define __TO_STRING_IMPL(x) #x
|
|
#define __TO_STRING(x) __TO_STRING_IMPL(x)
|
|
#endif
|
|
|
|
#define PRODUCT_VERSION_MAJOR_MINOR_STR __TO_STRING(PRODUCT_VERSION_MAJOR) "." __TO_STRING(PRODUCT_VERSION_MINOR)
|
|
#define PRODUCT_VERSION_MAJOR_MINOR_PATCH_STR PRODUCT_VERSION_MAJOR_MINOR_STR "." __TO_STRING(PRODUCT_VERSION_PATCH)
|
|
#define PRODUCT_VERSION_FULL_STR PRODUCT_VERSION_MAJOR_MINOR_PATCH_STR "." __TO_STRING(PRODUCT_VERSION_BUILD)
|
|
#define PRODUCT_VERSION_RESOURCE PRODUCT_VERSION_MAJOR,PRODUCT_VERSION_MINOR,PRODUCT_VERSION_PATCH,PRODUCT_VERSION_BUILD
|
|
#define PRODUCT_VERSION_RESOURCE_STR PRODUCT_VERSION_FULL_STR "\0"
|
|
|
|
#define FILE_VERSION_MAJOR_MINOR_STR __TO_STRING(FILE_VERSION_MAJOR) "." __TO_STRING(FILE_VERSION_MINOR)
|
|
#define FILE_VERSION_MAJOR_MINOR_PATCH_STR FILE_VERSION_MAJOR_MINOR_STR "." __TO_STRING(FILE_VERSION_PATCH)
|
|
#define FILE_VERSION_FULL_STR FILE_VERSION_MAJOR_MINOR_PATCH_STR "." __TO_STRING(FILE_VERSION_BUILD)
|
|
#define FILE_VERSION_RESOURCE FILE_VERSION_MAJOR,FILE_VERSION_MINOR,FILE_VERSION_PATCH,FILE_VERSION_BUILD
|
|
#define FILE_VERSION_RESOURCE_STR FILE_VERSION_FULL_STR "\0"
|
|
|
|
#ifndef PRODUCT_COMMENTS
|
|
#define PRODUCT_COMMENTS "@PRODUCT_COMMENTS@\0"
|
|
#endif
|
|
|
|
#ifndef PRODUCT_COMPANY_NAME
|
|
#define PRODUCT_COMPANY_NAME "@PRODUCT_COMPANY_NAME@\0"
|
|
#endif
|
|
|
|
#ifndef PRODUCT_COMPANY_COPYRIGHT
|
|
#define PRODUCT_COMPANY_COPYRIGHT "@PRODUCT_COMPANY_COPYRIGHT@\0"
|
|
#endif
|
|
|
|
#ifndef PRODUCT_FILE_DESCRIPTION
|
|
#define PRODUCT_FILE_DESCRIPTION "@PRODUCT_FILE_DESCRIPTION@\0"
|
|
#endif
|
|
|
|
#ifndef PRODUCT_INTERNAL_NAME
|
|
#define PRODUCT_INTERNAL_NAME "@PRODUCT_NAME@\0"
|
|
#endif
|
|
|
|
#ifndef PRODUCT_ORIGINAL_FILENAME
|
|
#define PRODUCT_ORIGINAL_FILENAME "@PRODUCT_ORIGINAL_FILENAME@\0"
|
|
#endif
|
|
|
|
#ifndef PRODUCT_BUNDLE
|
|
#define PRODUCT_BUNDLE "@PRODUCT_BUNDLE@\0"
|
|
#endif
|
|
|