Code::Blocks  SVN r11506
configmanager-revision.cpp
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3  * http://www.gnu.org/licenses/lgpl-3.0.html
4  *
5  * $Revision: 10907 $
6  * $Id: configmanager-revision.cpp 10907 2016-09-25 16:09:48Z fuscated $
7  * $HeadURL: https://svn.code.sf.net/p/codeblocks/code/trunk/src/sdk/configmanager-revision.cpp $
8  */
9 
10 /* ------------------------------------------------------------------------------------------------------------------
11 * Decouple the autorevisioning code, so we don't need to recompile the whole manager each time.
12 * It's bad enough we have to re-link the SDK...
13 */
14 
15 #include "sdk_precomp.h"
16 
17 #ifndef CB_PRECOMP
18  #include "configmanager.h"
19  #include <wx/string.h>
20 #endif
21 
22 #include "autorevision.h"
23 
25 {
26  static_assert(wxMinimumVersion<2,8,12>::eval, "wxWidgets 2.8.12 is required");
27 
28  return autorevision::svnRevision;
29 }
30 
32 {
33  return autorevision::svn_revision;
34 }
35 
37 {
38  return autorevision::svnDate;
39 }
40 
static wxString GetSvnDate()
static unsigned int GetRevisionNumber()
static wxString GetRevisionString()