Blender
V2.93
source
creator
buildinfo.c
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*
16
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
17
* All rights reserved.
18
*/
19
24
#ifdef WITH_BUILDINFO_HEADER
25
# include "buildinfo.h"
26
#endif
27
28
#ifdef BUILD_DATE
29
30
extern
char
build_date
[];
31
extern
char
build_time
[];
32
extern
char
build_hash
[];
33
extern
unsigned
long
build_commit_timestamp
;
34
extern
char
build_commit_date
[];
35
extern
char
build_commit_time
[];
36
extern
char
build_branch
[];
37
extern
char
build_platform
[];
38
extern
char
build_type
[];
39
extern
char
build_cflags
[];
40
extern
char
build_cxxflags
[];
41
extern
char
build_linkflags
[];
42
extern
char
build_system
[];
43
44
/* Currently only these are defined in the header. */
45
char
build_date
[] = BUILD_DATE;
46
char
build_time
[] = BUILD_TIME;
47
char
build_hash
[] = BUILD_HASH;
48
unsigned
long
build_commit_timestamp
= BUILD_COMMIT_TIMESTAMP;
49
char
build_commit_date
[16] =
"\0"
;
50
char
build_commit_time
[16] =
"\0"
;
51
char
build_branch
[] = BUILD_BRANCH;
52
53
char
build_platform
[] = BUILD_PLATFORM;
54
char
build_type
[] = BUILD_TYPE;
55
56
# ifdef BUILD_CFLAGS
57
char
build_cflags
[] = BUILD_CFLAGS;
58
char
build_cxxflags
[] = BUILD_CXXFLAGS;
59
char
build_linkflags
[] = BUILD_LINKFLAGS;
60
char
build_system
[] = BUILD_SYSTEM;
61
# else
62
char
build_cflags
[] =
"unmaintained buildsystem alert!"
;
63
char
build_cxxflags
[] =
"unmaintained buildsystem alert!"
;
64
char
build_linkflags
[] =
"unmaintained buildsystem alert!"
;
65
char
build_system
[] =
"unmaintained buildsystem alert!"
;
66
# endif
67
68
#endif
// BUILD_DATE
build_date
char build_date[]
Definition:
buildinfo.c:45
build_platform
char build_platform[]
Definition:
buildinfo.c:53
build_linkflags
char build_linkflags[]
Definition:
buildinfo.c:64
build_commit_date
char build_commit_date[]
Definition:
buildinfo.c:49
build_cflags
char build_cflags[]
Definition:
buildinfo.c:62
build_time
char build_time[]
Definition:
buildinfo.c:46
build_system
char build_system[]
Definition:
buildinfo.c:65
build_commit_time
char build_commit_time[]
Definition:
buildinfo.c:50
build_branch
char build_branch[]
Definition:
buildinfo.c:51
build_type
char build_type[]
Definition:
buildinfo.c:54
build_commit_timestamp
unsigned long build_commit_timestamp
Definition:
buildinfo.c:48
build_hash
char build_hash[]
Definition:
buildinfo.c:47
build_cxxflags
char build_cxxflags[]
Definition:
buildinfo.c:63
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1