Changeset View
Changeset View
Standalone View
Standalone View
source/creator/creator_intern.h
| Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
| # define BLEND_VERSION_FMT "Blender %d.%d.%d" | # define BLEND_VERSION_FMT "Blender %d.%d.%d" | ||||
| # define BLEND_VERSION_ARG (BLENDER_VERSION / 100), (BLENDER_VERSION % 100), BLENDER_VERSION_PATCH | # define BLEND_VERSION_ARG (BLENDER_VERSION / 100), (BLENDER_VERSION % 100), BLENDER_VERSION_PATCH | ||||
| #endif | #endif | ||||
| #ifdef WITH_BUILDINFO_HEADER | #ifdef WITH_BUILDINFO_HEADER | ||||
| # define BUILD_DATE | # define BUILD_DATE | ||||
| #endif | #endif | ||||
| /* from buildinfo.c */ | /* From `buildinfo.c`. */ | ||||
| #ifdef BUILD_DATE | #ifdef BUILD_DATE | ||||
| extern char build_date[]; | extern char build_date[]; | ||||
| extern char build_time[]; | extern char build_time[]; | ||||
| extern char build_hash[]; | extern char build_hash[]; | ||||
| extern unsigned long build_commit_timestamp; | extern unsigned long build_commit_timestamp; | ||||
| /* TODO(sergey): ideally size need to be in sync with buildinfo.c */ | /* TODO(@sergey): ideally size need to be in sync with `buildinfo.c`. */ | ||||
| extern char build_commit_date[16]; | extern char build_commit_date[16]; | ||||
| extern char build_commit_time[16]; | extern char build_commit_time[16]; | ||||
| extern char build_branch[]; | extern char build_branch[]; | ||||
| extern char build_platform[]; | extern char build_platform[]; | ||||
| extern char build_type[]; | extern char build_type[]; | ||||
| extern char build_cflags[]; | extern char build_cflags[]; | ||||
| extern char build_cxxflags[]; | extern char build_cxxflags[]; | ||||
| extern char build_linkflags[]; | extern char build_linkflags[]; | ||||
| extern char build_system[]; | extern char build_system[]; | ||||
| #endif /* BUILD_DATE */ | #endif /* BUILD_DATE */ | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||