SourceMod SDK  1.7
sourcemod_version.h
1 
32 #ifndef _INCLUDE_SOURCEMOD_VERSION_INFORMATION_H_
33 #define _INCLUDE_SOURCEMOD_VERSION_INFORMATION_H_
34 
41 #if defined SM_GENERATED_BUILD
42 # if defined RC_COMPILE
43 # undef SM_USE_VERSIONLIB
44 # endif
45 # if defined SM_USE_VERSIONLIB
46 # include <versionlib.h>
47 # else
48 # include <sourcemod_version_auto.h>
49 # endif
50 #else
51 #define SM_BUILD_TAG "manual"
52 #define SM_BUILD_LOCAL_REV "0"
53 #define SM_BUILD_CSET "0"
54 #define SM_BUILD_MAJOR "1"
55 #define SM_BUILD_MINOR "7"
56 #define SM_BUILD_RELEASE "0"
57 
58 #define SM_BUILD_UNIQUEID SM_BUILD_LOCAL_REV ":" SM_BUILD_CSET
59 
60 #define SM_VERSION_STRING SM_BUILD_MAJOR "." SM_BUILD_MINOR "." SM_BUILD_RELEASE "-" SM_BUILD_TAG
61 #define SM_VERSION_FILE 1,7,0,0
62 #endif
63 #define SM_BUILD_TIMESTAMP __DATE__ " " __TIME__
64 
65 #if !defined(SM_GENERATED_BUILD) || !defined(SM_USE_VERSIONLIB)
66 # define SOURCEMOD_VERSION SM_VERSION_STRING
67 # define SOURCEMOD_BUILD_ID SM_BUILD_UNIQUEID
68 # define SOURCEMOD_BUILD_TIME SM_BUILD_TIMESTAMP
69 #endif
70 
71 #endif /* _INCLUDE_SOURCEMOD_VERSION_INFORMATION_H_ */
72