Better version.hpp including.
This commit is contained in:
parent
ba9bcf0f67
commit
c392eba620
@ -1,4 +1,5 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "..\..\Utils\Versioning.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "..\..\Utils\Versioning.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "..\..\Utils\Versioning.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "..\..\STDInclude.hpp"
|
||||
#include "..\..\Utils\Versioning.hpp"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
@ -25,8 +25,6 @@
|
||||
#include <thread>
|
||||
#include <chrono>
|
||||
|
||||
#include <version.hpp>
|
||||
|
||||
#include "Utils\Utils.hpp"
|
||||
#include "Utils\WebIO.hpp"
|
||||
#include "Utils\Hooking.hpp"
|
||||
@ -42,11 +40,3 @@
|
||||
#pragma comment(lib, "Winmm.lib")
|
||||
#pragma comment(lib, "Crypt32.lib")
|
||||
#pragma comment(lib, "Ws2_32.lib")
|
||||
|
||||
// Revision number
|
||||
#define STRINGIZE_(x) #x
|
||||
#define STRINGIZE(x) STRINGIZE_(x)
|
||||
|
||||
#define REVISION_STR STRINGIZE(REVISION)
|
||||
#define VERSION 4,2,REVISION
|
||||
#define VERSION_STR "4.2." REVISION_STR
|
||||
|
9
src/Utils/Versioning.hpp
Normal file
9
src/Utils/Versioning.hpp
Normal file
@ -0,0 +1,9 @@
|
||||
#include <version.hpp>
|
||||
|
||||
// Revision number
|
||||
#define STRINGIZE_(x) #x
|
||||
#define STRINGIZE(x) STRINGIZE_(x)
|
||||
|
||||
#define REVISION_STR STRINGIZE(REVISION)
|
||||
#define VERSION 4,2,REVISION
|
||||
#define VERSION_STR "4.2." REVISION_STR
|
Loading…
Reference in New Issue
Block a user