mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-17 19:54:33 -05:00
69 lines
2.2 KiB
Plaintext
69 lines
2.2 KiB
Plaintext
#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 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 __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_RESOURCE PRODUCT_VERSION_MAJOR,PRODUCT_VERSION_MINOR,PRODUCT_VERSION_PATCH,0
|
|
#define PRODUCT_VERSION_RESOURCE_STR PRODUCT_VERSION_MAJOR_MINOR_PATCH_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_RESOURCE FILE_VERSION_MAJOR,FILE_VERSION_MINOR,FILE_VERSION_PATCH,0
|
|
#define FILE_VERSION_RESOURCE_STR FILE_VERSION_MAJOR_MINOR_PATCH_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
|