KVIrc  4.9.2
DeveloperAPIs
KviBuildInfo.h
Go to the documentation of this file.
1 #ifndef _KVI_BUILDINFO_H_
2 #define _KVI_BUILDINFO_H_
3 //=============================================================================
4 //
5 // File : KviBuildInfo.h
6 // Creation date : Sat 19 Apr 2008 17:01:57 by Szymon Stefanek
7 //
8 // This file is part of the KVIrc IRC Client distribution
9 // Copyright (C) 2008 Szymon Stefanek <s.stefanek at libero dot it>
10 // Copyright (C) 2008 Elvio Basello <hellvis69 at netsons dot org>
11 //
12 // This program is FREE software. You can redistribute it and/or
13 // modify it under the terms of the GNU General Public License
14 // as published by the Free Software Foundation; either version 2
15 // of the License, or (at your option) any later version.
16 //
17 // This program is distributed in the HOPE that it will be USEFUL,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 // See the GNU General Public License for more details.
21 //
22 // You should have received a copy of the GNU General Public License
23 // along with this program. If not, write to the Free Software Foundation,
24 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 //
26 //=============================================================================
27 
34 #include "kvi_settings.h"
35 #include "kvi_sourcesdate.h"
36 
37 #include <QString>
38 
39 extern KVILIB_API const char * feature_array[];
40 
50 namespace KviBuildInfo
51 {
56  extern KVILIB_API QString buildDate();
57 
62  extern KVILIB_API QString buildSourcesDate();
63 
68  extern KVILIB_API QString buildCommand();
69 
76  extern KVILIB_API QString buildFlags();
77 
84  extern KVILIB_API QString buildSystem();
85 
92  extern KVILIB_API QString buildSystemName();
93 
100  extern KVILIB_API QString buildSystemVersion();
101 
108  extern KVILIB_API QString buildCPU();
109 
116  extern KVILIB_API QString buildCompiler();
117 
124  extern KVILIB_API QString buildCompilerFlags();
125 
130  extern KVILIB_API QString buildRevision();
131 
136  extern KVILIB_API QString qtVersion();
137 
142  extern KVILIB_API QString features();
143 }
144 
145 #endif
QString buildCommand()
Returns the build command used by cmake to create the KVIrc executable.
Definition: KviBuildInfo.cpp:108
QString buildFlags()
Returns the build flags.
Definition: KviBuildInfo.cpp:113
QString features()
Returns the list of features compiled in the KVIrc executable.
Definition: KviBuildInfo.cpp:174
QString buildSystemName()
Returns the name part of the system.
Definition: KviBuildInfo.cpp:123
QString buildCompilerFlags()
Returns a description of the compiler flags.
Definition: KviBuildInfo.cpp:151
QString buildCompiler()
Returns a description of the compiler.
Definition: KviBuildInfo.cpp:146
QString buildDate()
Retrieve the latest kvilib/kvirc build date.
Definition: KviBuildInfo.cpp:98
QString buildSystemVersion()
Returns the version part of the system.
Definition: KviBuildInfo.cpp:132
QString buildRevision()
Returns the Git revision number of the local repository.
Definition: KviBuildInfo.cpp:160
QString buildCPU()
Returns a description of the CPU.
Definition: KviBuildInfo.cpp:141
QString buildSystem()
Returns a description of the system.
Definition: KviBuildInfo.cpp:118
QString buildSourcesDate()
Returns the date tag applied to the currently compiled Git sources.
Definition: KviBuildInfo.cpp:103
Sources date.
This file contains compile time settings.
QString qtVersion()
Returns the Qt version used to build the KVIrc executable.
Definition: KviBuildInfo.cpp:169
#define KVILIB_API
Definition: kvi_settings.h:125
KVILIB_API const char * feature_array[]
Definition: KviBuildInfo.cpp:32