mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
public: exclude build_vcs from libpublic dependencies, add it per project
This commit is contained in:
@@ -55,14 +55,23 @@ enum
|
||||
//
|
||||
// build.c
|
||||
//
|
||||
int Q_buildnum( void );
|
||||
int Q_buildnum_iso( const char *date );
|
||||
int Q_buildnum_compat( void );
|
||||
|
||||
// to use build information, add "build_vcs" to dependencies
|
||||
int Q_buildnum( void );
|
||||
extern const char *g_buildcommit;
|
||||
extern const char *g_buildbranch;
|
||||
extern const char *g_build_date;
|
||||
extern const char *g_buildcommit_date;
|
||||
|
||||
static inline int Q_buildnum_compat( void )
|
||||
{
|
||||
// this magical number below is Xash3D base build number
|
||||
// as Xash3D isn't in development anymore,
|
||||
// it's probably gonna stay at this number forever
|
||||
return 4529;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// crtlib.c
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user