Move versioning to a static library to improve trivial build speed (bug 5997 part 9, r=ds).

This commit is contained in:
David Anderson
2013-12-30 17:51:00 -05:00
parent c2cfe60102
commit f82224eba0
27 changed files with 164 additions and 46 deletions
+2 -2
View File
@@ -65,12 +65,12 @@ void RegexExtension::SDK_OnUnload()
const char *RegexExtension::GetExtensionVerString()
{
return SM_VERSION_STRING;
return SOURCEMOD_VERSION;
}
const char *RegexExtension::GetExtensionDateString()
{
return SM_BUILD_TIMESTAMP;
return SOURCEMOD_BUILD_TIME;
}
static cell_t CompileRegex(IPluginContext *pCtx, const cell_t *params)