added proper versioning to topmenus
authorDavid Anderson <dvander@alliedmods.net>
Mon Oct 15 00:41:29 2007 +0000 (2007-10-15)
changeset 1569665a57158301
parent 1568 ecbaee393b0b
child 1570 9eadd5fe88d3
added proper versioning to topmenus
extensions/topmenus/msvc8/topmenus.vcproj
extensions/topmenus/sdk/smsdk_config.h
extensions/topmenus/svn_version.h
extensions/topmenus/svn_version.tpl
extensions/topmenus/version.rc
modules.versions
     1.1 --- a/extensions/topmenus/msvc8/topmenus.vcproj	Mon Oct 15 00:38:25 2007 +0000
     1.2 +++ b/extensions/topmenus/msvc8/topmenus.vcproj	Mon Oct 15 00:41:29 2007 +0000
     1.3 @@ -224,6 +224,10 @@
     1.4  			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
     1.5  			UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
     1.6  			>
     1.7 +			<File
     1.8 +				RelativePath="..\version.rc"
     1.9 +				>
    1.10 +			</File>
    1.11  		</Filter>
    1.12  		<Filter
    1.13  			Name="SourceMod SDK"
    1.14 @@ -249,6 +253,10 @@
    1.15  				RelativePath="..\sdk\smsdk_ext.h"
    1.16  				>
    1.17  			</File>
    1.18 +			<File
    1.19 +				RelativePath="..\svn_version.h"
    1.20 +				>
    1.21 +			</File>
    1.22  		</Filter>
    1.23  		<Filter
    1.24  			Name="Interfaces"
     2.1 --- a/extensions/topmenus/sdk/smsdk_config.h	Mon Oct 15 00:38:25 2007 +0000
     2.2 +++ b/extensions/topmenus/sdk/smsdk_config.h	Mon Oct 15 00:41:29 2007 +0000
     2.3 @@ -37,6 +37,8 @@
     2.4   * @brief Contains macros for configuring basic extension information.
     2.5   */
     2.6  
     2.7 +#include "svn_version.h"
     2.8 +
     2.9  /* Basic information exposed publicly */
    2.10  #define SMEXT_CONF_NAME			"Top Menus"
    2.11  #define SMEXT_CONF_DESCRIPTION	"Creates sorted nested menus"
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/extensions/topmenus/svn_version.h	Mon Oct 15 00:41:29 2007 +0000
     3.3 @@ -0,0 +1,42 @@
     3.4 +/**
     3.5 + * vim: set ts=4 :
     3.6 + * =============================================================================
     3.7 + * SourceMod SQLite Extension
     3.8 + * Copyright (C) 2004-2007 AlliedModders LLC.  All rights reserved.
     3.9 + * =============================================================================
    3.10 + *
    3.11 + * This program is free software; you can redistribute it and/or modify it under
    3.12 + * the terms of the GNU General Public License, version 3.0, as published by the
    3.13 + * Free Software Foundation.
    3.14 + * 
    3.15 + * This program is distributed in the hope that it will be useful, but WITHOUT
    3.16 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    3.17 + * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
    3.18 + * details.
    3.19 + *
    3.20 + * You should have received a copy of the GNU General Public License along with
    3.21 + * this program.  If not, see <http://www.gnu.org/licenses/>.
    3.22 + *
    3.23 + * As a special exception, AlliedModders LLC gives you permission to link the
    3.24 + * code of this program (as well as its derivative works) to "Half-Life 2," the
    3.25 + * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
    3.26 + * by the Valve Corporation.  You must obey the GNU General Public License in
    3.27 + * all respects for all other code used.  Additionally, AlliedModders LLC grants
    3.28 + * this exception to all derivative works.  AlliedModders LLC defines further
    3.29 + * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
    3.30 + * or <http://www.sourcemod.net/license.php>.
    3.31 + *
    3.32 + * Version: $Id$
    3.33 + */
    3.34 +
    3.35 +/**
    3.36 + * Autogenerated by build scripts
    3.37 + */
    3.38 +
    3.39 +#ifndef _INCLUDE_TOPMENUS_VERSION_H_
    3.40 +#define _INCLUDE_TOPMENUS_VERSION_H_
    3.41 +
    3.42 +#define SVN_FULL_VERSION	"1.0.0.1336"
    3.43 +#define SVN_FILE_VERSION	1,0,0,1336
    3.44 +
    3.45 +#endif //_INCLUDE_TOPMENUS_VERSION_H_
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/extensions/topmenus/svn_version.tpl	Mon Oct 15 00:41:29 2007 +0000
     4.3 @@ -0,0 +1,42 @@
     4.4 +/**
     4.5 + * vim: set ts=4 :
     4.6 + * =============================================================================
     4.7 + * SourceMod SQLite Extension
     4.8 + * Copyright (C) 2004-2007 AlliedModders LLC.  All rights reserved.
     4.9 + * =============================================================================
    4.10 + *
    4.11 + * This program is free software; you can redistribute it and/or modify it under
    4.12 + * the terms of the GNU General Public License, version 3.0, as published by the
    4.13 + * Free Software Foundation.
    4.14 + * 
    4.15 + * This program is distributed in the hope that it will be useful, but WITHOUT
    4.16 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    4.17 + * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
    4.18 + * details.
    4.19 + *
    4.20 + * You should have received a copy of the GNU General Public License along with
    4.21 + * this program.  If not, see <http://www.gnu.org/licenses/>.
    4.22 + *
    4.23 + * As a special exception, AlliedModders LLC gives you permission to link the
    4.24 + * code of this program (as well as its derivative works) to "Half-Life 2," the
    4.25 + * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
    4.26 + * by the Valve Corporation.  You must obey the GNU General Public License in
    4.27 + * all respects for all other code used.  Additionally, AlliedModders LLC grants
    4.28 + * this exception to all derivative works.  AlliedModders LLC defines further
    4.29 + * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
    4.30 + * or <http://www.sourcemod.net/license.php>.
    4.31 + *
    4.32 + * Version: $Id$
    4.33 + */
    4.34 +
    4.35 +/**
    4.36 + * Autogenerated by build scripts
    4.37 + */
    4.38 +
    4.39 +#ifndef _INCLUDE_SQLITEEXT_VERSION_H_
    4.40 +#define _INCLUDE_SQLITEEXT_VERSION_H_
    4.41 +
    4.42 +#define SVN_FULL_VERSION	"$PMAJOR$.$PMINOR$.$PREVISION$.$LOCAL_BUILD$"
    4.43 +#define SVN_FILE_VERSION	$PMAJOR$,$PMINOR$,$PREVISION$,$LOCAL_BUILD$
    4.44 +
    4.45 +#endif //_INCLUDE_SQLITEEXT_VERSION_H_
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/extensions/topmenus/version.rc	Mon Oct 15 00:41:29 2007 +0000
     5.3 @@ -0,0 +1,104 @@
     5.4 +// Microsoft Visual C++ generated resource script.
     5.5 +//
     5.6 +//#include "resource.h"
     5.7 +
     5.8 +#define APSTUDIO_READONLY_SYMBOLS
     5.9 +/////////////////////////////////////////////////////////////////////////////
    5.10 +//
    5.11 +// Generated from the TEXTINCLUDE 2 resource.
    5.12 +//
    5.13 +#include "winres.h"
    5.14 +
    5.15 +#include "svn_version.h"
    5.16 +
    5.17 +/////////////////////////////////////////////////////////////////////////////
    5.18 +#undef APSTUDIO_READONLY_SYMBOLS
    5.19 +
    5.20 +/////////////////////////////////////////////////////////////////////////////
    5.21 +// English (U.S.) resources
    5.22 +
    5.23 +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
    5.24 +#ifdef _WIN32
    5.25 +LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
    5.26 +#pragma code_page(1252)
    5.27 +#endif //_WIN32
    5.28 +
    5.29 +/////////////////////////////////////////////////////////////////////////////
    5.30 +//
    5.31 +// Version
    5.32 +//
    5.33 +
    5.34 +VS_VERSION_INFO VERSIONINFO
    5.35 + FILEVERSION  SVN_FILE_VERSION
    5.36 + PRODUCTVERSION SVN_FILE_VERSION
    5.37 + FILEFLAGSMASK 0x17L
    5.38 +#ifdef _DEBUG
    5.39 + FILEFLAGS 0x1L
    5.40 +#else
    5.41 + FILEFLAGS 0x0L
    5.42 +#endif
    5.43 + FILEOS 0x4L
    5.44 + FILETYPE 0x2L
    5.45 + FILESUBTYPE 0x0L
    5.46 +BEGIN
    5.47 +    BLOCK "StringFileInfo"
    5.48 +    BEGIN
    5.49 +        BLOCK "000004b0"
    5.50 +        BEGIN
    5.51 +            VALUE "Comments", "TopMenus Extension"
    5.52 +            VALUE "FileDescription", "SourceMod TopMenus Extension"
    5.53 +            VALUE "FileVersion", SVN_FULL_VERSION
    5.54 +            VALUE "InternalName", "SourceMod TopMenus Extension"
    5.55 +            VALUE "LegalCopyright", "Copyright (c) 2004-2007, AlliedModders LLC"
    5.56 +            VALUE "OriginalFilename", "topmenus.ext.dll"
    5.57 +            VALUE "ProductName", "SourceMod TopMenus Extension"
    5.58 +            VALUE "ProductVersion", SVN_FULL_VERSION
    5.59 +        END
    5.60 +    END
    5.61 +    BLOCK "VarFileInfo"
    5.62 +    BEGIN
    5.63 +        VALUE "Translation", 0x0, 1200
    5.64 +    END
    5.65 +END
    5.66 +
    5.67 +
    5.68 +#ifdef APSTUDIO_INVOKED
    5.69 +/////////////////////////////////////////////////////////////////////////////
    5.70 +//
    5.71 +// TEXTINCLUDE
    5.72 +//
    5.73 +
    5.74 +1 TEXTINCLUDE 
    5.75 +BEGIN
    5.76 +    "resource.h\0"
    5.77 +END
    5.78 +
    5.79 +2 TEXTINCLUDE 
    5.80 +BEGIN
    5.81 +    "#include ""winres.h""\r\n"
    5.82 +    "\0"
    5.83 +END
    5.84 +
    5.85 +3 TEXTINCLUDE 
    5.86 +BEGIN
    5.87 +    "\r\n"
    5.88 +    "\0"
    5.89 +END
    5.90 +
    5.91 +#endif    // APSTUDIO_INVOKED
    5.92 +
    5.93 +#endif    // English (U.S.) resources
    5.94 +/////////////////////////////////////////////////////////////////////////////
    5.95 +
    5.96 +
    5.97 +
    5.98 +#ifndef APSTUDIO_INVOKED
    5.99 +/////////////////////////////////////////////////////////////////////////////
   5.100 +//
   5.101 +// Generated from the TEXTINCLUDE 3 resource.
   5.102 +//
   5.103 +
   5.104 +
   5.105 +/////////////////////////////////////////////////////////////////////////////
   5.106 +#endif    // not APSTUDIO_INVOKED
   5.107 +
     6.1 --- a/modules.versions	Mon Oct 15 00:38:25 2007 +0000
     6.2 +++ b/modules.versions	Mon Oct 15 00:41:29 2007 +0000
     6.3 @@ -57,3 +57,8 @@
     6.4  folder = loader
     6.5  in = svn_version.tpl
     6.6  out = svn_version.h
     6.7 +
     6.8 +[topmenus]
     6.9 +folder = extensions/topmenus
    6.10 +in = svn_version.tpl
    6.11 +out = svn_version.h